the reasoner's states are now closures just like the code for the def rules. This means more compact JIT compiled code and uniformity with the code for def rules

This commit is contained in:
krasimir
2015-07-04 15:06:34 +00:00
parent 85e6e017af
commit 99a0b5a1d8
4 changed files with 85 additions and 84 deletions

View File

@@ -82,7 +82,7 @@ typedef struct {
int arity;
PgfEquations* defns; // maybe null
PgfExprProb ep;
void* predicate;
PgfFunction predicate;
struct {
PgfFunction code;
union {