diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-07-08 19:45:49 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-07-08 19:45:49 +0000 |
| commit | 0222d2440c6b6246da2a5d8d397bb1d766419c0e (patch) | |
| tree | 1e9b6ac4f918c021e4c197b16fae8a63fce4a802 /src/runtime/c/pgf/pgf.h | |
| parent | e0fe6d01c4b3ec1456f5124793bd1721bb0198fb (diff) | |
implemented computing with abstract syntax trees. It passes all test cases except those that require def rules. The design is consistent with the STG virtual machine
Diffstat (limited to 'src/runtime/c/pgf/pgf.h')
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index 7cddbbcae..bc9fb7d99 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -99,7 +99,11 @@ pgf_linearize(PgfConcr* concr, PgfExpr expr, GuOut* out, GuExn* err); bool pgf_parseval(PgfConcr* concr, PgfExpr expr, PgfCId cat, double *precision, double *recall, double *exact); - + +PgfExpr +pgf_compute(PgfPGF* pgf, PgfExpr expr, GuExn* err, + GuPool* pool, GuPool* out_pool); + PgfExprEnum* pgf_generate_all(PgfPGF* pgf, PgfCId cat, GuPool* pool); |
