tweag / pirouette

Language-generic workbench for building static analysis
MIT License
47 stars 2 forks source link

Generalized stopping conditions for symbolic evaluation #92

Closed serras closed 2 years ago

serras commented 2 years ago

This is a quick generalization of the usage of "fuel" to stop symbolic evaluation. The idea is

  1. Gather different statistics during evaluation (fuel used, # of constructors introduced, etcetera);
  2. The "runner" function take a new StoppingCondition which is nothing more than a predicate SymEvalStatistics -> Bool.

So now our previous runners become: