Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git] / src / runtime.mli
diff --git a/src/runtime.mli b/src/runtime.mli
new file mode 100644 (file)
index 0000000..a30db0d
--- /dev/null
@@ -0,0 +1,7 @@
+module type S = sig
+  type result_set
+  val top_down_run : Ata.t -> Tree.t -> Tree.node -> result_set
+  val bottom_up_run : Ata.t -> Tree.t -> Compile.text_query * string -> result_set
+end
+
+module Make (U : ResJIT.S) : S with type result_set = U.NS.t