From 70c70fa791ef1d1e2349095ea661508db664ca97 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 31 Oct 2014 19:57:56 +0000 Subject: a skeletal module for higher-order pattern unification in the C runtime --- src/runtime/c/pgf/hopu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/runtime/c/pgf/hopu.c (limited to 'src/runtime/c/pgf/hopu.c') diff --git a/src/runtime/c/pgf/hopu.c b/src/runtime/c/pgf/hopu.c new file mode 100644 index 000000000..5767feac0 --- /dev/null +++ b/src/runtime/c/pgf/hopu.c @@ -0,0 +1,10 @@ +#include "data.h" +#include "evaluator.h" +#include "hopu.h" + +void pgf_pattern_unify(PgfEvalState* state, PgfClosure* c1, PgfClosure* c2) +{ + c1 = state->eval_gates->enter(state, c1); + c2 = state->eval_gates->enter(state, c2); +} + -- cgit v1.2.3