X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Frun.mli;h=ec26096c3b1a8da38be68b3b4092b030e99c5fd1;hb=59f809a2c74294922d37657426a5eaf3f7694dcd;hp=628124227dbb31a4706157d034fc82faa4e662c8;hpb=2a9d33a300ac414c21679c520bc6434d48f499a9;p=goals.git diff --git a/src/run.mli b/src/run.mli index 6281242..ec26096 100644 --- a/src/run.mli +++ b/src/run.mli @@ -17,8 +17,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -val run_targets_to_completion : Ast.env -> Ast.expr list -> unit -(** This drives evaluation of the list of target expressions (in - parallel) until they are complete or we reach an error. The - expressions are either a list of dependencies and/or a list of - initial targets. *) +val goal_runner : Deps.goal_runner +(** Run a single goal. *) + +val exists_runner : Deps.exists_runner +(** Run the implicit existence tactic. + + This is used when we find a tactic like *foo(...) but there + is no matching goal. We run (in this callback) the associated + tactic code. As long as it runs successfully, not returning 99 or + any error value, then we're OK - the tactic doesn't need rebuilding + so the dependency is satisfied. However if it returns 99 (needs + rebuild) or an error then we have to exit with an error. *)