diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-07 17:41:06 +0200 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-07 17:41:06 +0200 |
commit | 9ccef2c0850b73bf3d92f26bfa0aeacf933e1d17 (patch) | |
tree | 0c8b4157db1cb8851d75dae6f8706103ba081091 /main.ml | |
parent | 73fa920959d22c084265fe847f4788564bf49700 (diff) | |
download | SemVerif-Projet-9ccef2c0850b73bf3d92f26bfa0aeacf933e1d17.tar.gz SemVerif-Projet-9ccef2c0850b73bf3d92f26bfa0aeacf933e1d17.zip |
Restart anew ; done nonrelational stuff, interpret remains, intervals domain remains
Diffstat (limited to 'main.ml')
-rw-r--r-- | main.ml | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -12,18 +12,15 @@ *) open Abstract_syntax_tree -open Constant_domain + +module Env_dom = Nonrelational.NonRelational(Constant_domain.Constants) +module Interp = Interpret.Make(Env_dom) (* parse and print filename *) let doit filename = let prog = File_parser.parse_file filename in Abstract_syntax_printer.print_prog Format.std_formatter prog; - List.fold_left - (fun s x -> match x with - | AST_stat(stat, _) -> CD.interp_abs(stat) s - | _ -> s) - CD.top_ts - (fst prog) + Interp.interpret prog (* parses arguments to get filename *) let main () = |