add OP_LAMBDA (lambda object creation)

This commit is contained in:
Yuichi Nishiwaki
2013-10-16 11:32:30 +09:00
parent 19abedf746
commit c593a46a62
5 changed files with 77 additions and 8 deletions
+5
View File
@@ -8,6 +8,8 @@ enum pic_instruction {
OP_GREF,
OP_GSET,
OP_CALL,
OP_RET,
OP_LAMBDA,
OP_CONS,
OP_ADD,
OP_SUB,
@@ -28,6 +30,9 @@ struct pic_code {
struct pic_irep {
struct pic_code *code;
size_t clen, ccapa;
struct pic_irep **proto;
size_t plen, pcapa;
};
#endif