adding function module
This commit is contained in:
6
function.h
Normal file
6
function.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
const uint32_t function_create(const std::string name);
|
||||||
|
void function_parameter_add(const uint32_t id, const std::string name, const )
|
||||||
37
parser.h
37
parser.h
@@ -8,48 +8,15 @@ enum OPS {
|
|||||||
OP_SWAP,
|
OP_SWAP,
|
||||||
|
|
||||||
OP_LOAD,
|
OP_LOAD,
|
||||||
//OP_LOADI,
|
|
||||||
OP_STORE,
|
OP_STORE,
|
||||||
//OP_STOREI,
|
|
||||||
/*
|
|
||||||
OP_LOADXY,
|
|
||||||
OP_STOREXY,
|
|
||||||
OP_SETX,
|
|
||||||
OP_SETY,
|
|
||||||
OP_SETZ,
|
|
||||||
OP_GETY,
|
|
||||||
OP_GETZ,
|
|
||||||
OP_INCX,
|
|
||||||
OP_DECX,
|
|
||||||
OP_INCY,
|
|
||||||
OP_DECY,
|
|
||||||
OP_INCZ,
|
|
||||||
OP_DECZ,
|
|
||||||
*/
|
|
||||||
OP_JMP,
|
OP_JMP,
|
||||||
OP_JNT,
|
OP_JNT,
|
||||||
OP_JTR,
|
OP_JTR,
|
||||||
//OP_JSR,
|
|
||||||
OP_RET,
|
OP_RET,
|
||||||
OP_CALL,
|
OP_CALL,
|
||||||
OP_CALLEX, // AFEGIT PER A JAILSCRIPT
|
OP_CALLEX, // AFEGIT PER A JAILSCRIPT
|
||||||
/*
|
|
||||||
OP_RJ,
|
|
||||||
OP_RB,
|
|
||||||
OP_RJZ,
|
|
||||||
OP_RJN,
|
|
||||||
OP_RBZ,
|
|
||||||
OP_RBN,
|
|
||||||
|
|
||||||
OP_RJYZ,
|
|
||||||
OP_RJYN,
|
|
||||||
OP_RBYZ,
|
|
||||||
OP_RBYN,
|
|
||||||
OP_RJZZ,
|
|
||||||
OP_RJZN,
|
|
||||||
OP_RBZZ,
|
|
||||||
OP_RBZN,
|
|
||||||
*/
|
|
||||||
OP_ADD,
|
OP_ADD,
|
||||||
OP_SUB,
|
OP_SUB,
|
||||||
OP_MUL,
|
OP_MUL,
|
||||||
@@ -70,8 +37,6 @@ enum OPS {
|
|||||||
OP_LEQ,
|
OP_LEQ,
|
||||||
OP_GEQ,
|
OP_GEQ,
|
||||||
|
|
||||||
//OP_IN,
|
|
||||||
//OP_OUT,
|
|
||||||
OP_SLEEP,
|
OP_SLEEP,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user