add OP_EQ/OP_LT/OP_LE
This commit is contained in:
@@ -30,6 +30,7 @@ typedef struct {
|
||||
pic_value sQUASIQUOTE, sUNQUOTE, sUNQUOTE_SPLICING;
|
||||
pic_value sCONS, sCAR, sCDR, sNILP;
|
||||
pic_value sADD, sSUB, sMUL, sDIV;
|
||||
pic_value sEQ, sLT, sLE, sGT, sGE;
|
||||
|
||||
struct sym_tbl *sym_tbl;
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@ enum pic_opcode {
|
||||
OP_SUB,
|
||||
OP_MUL,
|
||||
OP_DIV,
|
||||
OP_EQ,
|
||||
OP_LT,
|
||||
OP_LE,
|
||||
OP_STOP
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user