cool stuff
This commit is contained in:
@@ -1,5 +1,116 @@
|
||||
#include "../../include/ground.h"
|
||||
|
||||
#define handle(instruction) handle##instruction##(instruction, state); break;
|
||||
|
||||
void _GroundInstructionExecute(GroundInstruction* instruction, GroundState* state) {
|
||||
// Stub
|
||||
switch (instruction->type) {
|
||||
case GroundInstruction_IF:
|
||||
break;
|
||||
case GroundInstruction_JUMP:
|
||||
break;
|
||||
case GroundInstruction_END:
|
||||
break;
|
||||
case GroundInstruction_INPUT:
|
||||
break;
|
||||
case GroundInstruction_PRINT:
|
||||
break;
|
||||
case GroundInstruction_PRINTLN:
|
||||
break;
|
||||
case GroundInstruction_SET:
|
||||
break;
|
||||
case GroundInstruction_GETTYPE:
|
||||
break;
|
||||
case GroundInstruction_EXISTS:
|
||||
break;
|
||||
case GroundInstruction_SETLIST:
|
||||
break;
|
||||
case GroundInstruction_SETLISTAT:
|
||||
break;
|
||||
case GroundInstruction_GETLISTAT:
|
||||
break;
|
||||
case GroundInstruction_GETLISTSIZE:
|
||||
break;
|
||||
case GroundInstruction_LISTAPPEND:
|
||||
break;
|
||||
case GroundInstruction_GETSTRSIZE:
|
||||
break;
|
||||
case GroundInstruction_GETSTRCHARAT:
|
||||
break;
|
||||
case GroundInstruction_ADD:
|
||||
break;
|
||||
case GroundInstruction_SUBTRACT:
|
||||
break;
|
||||
case GroundInstruction_MULTIPLY:
|
||||
break;
|
||||
case GroundInstruction_DIVIDE:
|
||||
break;
|
||||
case GroundInstruction_EQUAL:
|
||||
break;
|
||||
case GroundInstruction_INEQUAL:
|
||||
break;
|
||||
case GroundInstruction_NOT:
|
||||
break;
|
||||
case GroundInstruction_GREATER:
|
||||
break;
|
||||
case GroundInstruction_LESSER:
|
||||
break;
|
||||
case GroundInstruction_AND:
|
||||
break;
|
||||
case GroundInstruction_OR:
|
||||
break;
|
||||
case GroundInstruction_XOR:
|
||||
break;
|
||||
case GroundInstruction_NEG:
|
||||
break;
|
||||
case GroundInstruction_SHIFT:
|
||||
break;
|
||||
case GroundInstruction_STOI:
|
||||
break;
|
||||
case GroundInstruction_STOD:
|
||||
break;
|
||||
case GroundInstruction_ITOC:
|
||||
break;
|
||||
case GroundInstruction_CTOI:
|
||||
break;
|
||||
case GroundInstruction_TOSTRING:
|
||||
break;
|
||||
case GroundInstruction_FUN:
|
||||
break;
|
||||
case GroundInstruction_RETURN:
|
||||
break;
|
||||
case GroundInstruction_ENDFUN:
|
||||
break;
|
||||
case GroundInstruction_CALL:
|
||||
break;
|
||||
case GroundInstruction_CALLMETHOD:
|
||||
break;
|
||||
case GroundInstruction_STRUCT:
|
||||
break;
|
||||
case GroundInstruction_ENDSTRUCT:
|
||||
break;
|
||||
case GroundInstruction_INIT:
|
||||
break;
|
||||
case GroundInstruction_GETFIELD:
|
||||
break;
|
||||
case GroundInstruction_SETFIELD:
|
||||
break;
|
||||
case GroundInstruction_USE:
|
||||
break;
|
||||
case GroundInstruction_EXTERN:
|
||||
break;
|
||||
case GroundInstruction_CREATELABEL:
|
||||
break;
|
||||
case GroundInstruction_PAUSE:
|
||||
break;
|
||||
case GroundInstruction_DROP:
|
||||
break;
|
||||
case GroundInstruction_LICENSE:
|
||||
break;
|
||||
case GroundInstruction_ERROR:
|
||||
break;
|
||||
case GroundInstruction_THROW:
|
||||
break;
|
||||
case GroundInstruction_CATCH:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user