mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-21 17:26:14 -06:00
finally proper stack unwind in the evaluator
This commit is contained in:
@@ -40,16 +40,12 @@ typedef struct {
|
||||
typedef struct {
|
||||
PgfClosure header;
|
||||
int level;
|
||||
size_t n_args;
|
||||
PgfClosure* args[];
|
||||
} PgfValueGen;
|
||||
|
||||
typedef struct {
|
||||
PgfClosure header;
|
||||
PgfEnv* env;
|
||||
PgfMetaId id;
|
||||
size_t n_args;
|
||||
PgfClosure* args[];
|
||||
} PgfValueMeta;
|
||||
|
||||
typedef struct {
|
||||
@@ -68,11 +64,12 @@ struct PgfEvalGates {
|
||||
PgfFunction evaluate_expr_thunk;
|
||||
PgfFunction evaluate_indirection;
|
||||
PgfFunction evaluate_value;
|
||||
PgfFunction evaluate_value_gen;
|
||||
PgfFunction evaluate_value_meta;
|
||||
PgfFunction evaluate_value_lit;
|
||||
PgfFunction evaluate_value_pap;
|
||||
PgfFunction evaluate_value_lambda;
|
||||
PgfFunction evaluate_value_const;
|
||||
PgfFunction evaluate_meta;
|
||||
PgfFunction evaluate_gen;
|
||||
PgfFunction evaluate_caf;
|
||||
|
||||
PgfFunction update_closure;
|
||||
|
||||
Reference in New Issue
Block a user