Files
cground/src/interpreter.h

19 lines
390 B
C
Raw Normal View History

2025-11-23 18:34:30 +11:00
#ifndef INTERPRETER_H
#define INTERPRETER_H
#include "types.h"
#include "parser.h"
#include "include/uthash.h"
typedef enum GroundRuntimeError {
ARG_TYPE_MISMATCH, TOO_FEW_ARGS, TOO_MANY_ARGS, FIXME
} GroundRuntimeError;
typedef struct GroundLabel {
} GroundLabel;
void interpretGroundProgram(GroundProgram* in);
void interpretGroundInstruction(GroundInstruction* in);
#endif