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 b3680b6025
commit 192b1cc018
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 {