Evaluating a test with automatic inclusion of basis
[hcoop/domtool2.git] / src / main.sig
index f36fb65..45510b7 100644 (file)
@@ -14,7 +14,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-*)
+ *)
 
 (* Main interface *)
 
@@ -22,8 +22,12 @@ signature MAIN = sig
 
     val tInit : Ast.typ
 
-    val check : string -> unit
-    val reduce : string -> unit
+    val check : string -> Env.env * Ast.exp option
+    val check' : Env.env -> string -> Env.env
+
+    val basis : unit -> Env.env
+
+    val reduce : string -> Ast.exp option
     val eval : string -> unit
 
 end