forked from ground/cground
Continue struct parsing work
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "include/uthash.h"
|
||||
|
||||
typedef enum GroundRuntimeError {
|
||||
ARG_TYPE_MISMATCH, TOO_FEW_ARGS, TOO_MANY_ARGS, UNKNOWN_LABEL, UNKNOWN_VARIABLE, LIST_ERROR, STRING_ERROR, MATH_ERROR, RETURN_TYPE_MISMATCH, FIXME
|
||||
ARG_TYPE_MISMATCH, TOO_FEW_ARGS, TOO_MANY_ARGS, UNKNOWN_LABEL, UNKNOWN_VARIABLE, LIST_ERROR, STRING_ERROR, MATH_ERROR, RETURN_TYPE_MISMATCH, PREMATURE_EOF, FIXME
|
||||
} GroundRuntimeError;
|
||||
|
||||
typedef enum GroundDebugInstructionType {
|
||||
@@ -36,6 +36,7 @@ typedef struct GroundDebugInstruction {
|
||||
char* arg;
|
||||
} GroundDebugInstruction;
|
||||
|
||||
GroundStruct parseStruct(GroundProgram* in);
|
||||
GroundValue interpretGroundProgram(GroundProgram* in, GroundScope* inScope);
|
||||
GroundValue interpretGroundInstruction(GroundInstruction inst, GroundScope* scope);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user