mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-28 22:12:51 -06:00
a major revision of the bytecode generator and JIT compiler. the effect is that now we can compute with lambda functions and with true tail recursion
This commit is contained in:
@@ -105,27 +105,18 @@ typedef struct {
|
||||
|
||||
typedef enum {
|
||||
PGF_INSTR_ENTER,
|
||||
PGF_INSTR_EVAL_ARG_VAR,
|
||||
PGF_INSTR_EVAL_FREE_VAR,
|
||||
PGF_INSTR_CASE,
|
||||
PGF_INSTR_CASE_INT,
|
||||
PGF_INSTR_CASE_STR,
|
||||
PGF_INSTR_CASE_FLT,
|
||||
PGF_INSTR_CASE_LIT,
|
||||
PGF_INSTR_ALLOC,
|
||||
PGF_INSTR_PUT_CONSTR,
|
||||
PGF_INSTR_PUT_FUN,
|
||||
PGF_INSTR_PUT_CLOSURE,
|
||||
PGF_INSTR_PUT_INT,
|
||||
PGF_INSTR_PUT_STR,
|
||||
PGF_INSTR_PUT_FLT,
|
||||
PGF_INSTR_SET_VALUE,
|
||||
PGF_INSTR_SET_ARG_VAR,
|
||||
PGF_INSTR_SET_FREE_VAR,
|
||||
PGF_INSTR_PUT_LIT,
|
||||
PGF_INSTR_SET,
|
||||
PGF_INSTR_SET_PAD,
|
||||
PGF_INSTR_PUSH_VALUE,
|
||||
PGF_INSTR_PUSH_ARG_VAR,
|
||||
PGF_INSTR_PUSH_FREE_VAR,
|
||||
PGF_INSTR_TAIL_CALL,
|
||||
PGF_INSTR_PUSH,
|
||||
PGF_INSTR_EVAL,
|
||||
PGF_INSTR_CALL,
|
||||
PGF_INSTR_FAIL,
|
||||
PGF_INSTR_UPDATE,
|
||||
PGF_INSTR_RET
|
||||
|
||||
Reference in New Issue
Block a user