diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-07 16:13:31 +0200 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-07 16:13:31 +0200 |
commit | 73fa920959d22c084265fe847f4788564bf49700 (patch) | |
tree | 9e99d91203b475ebe74fa0b484a86ada05caacf1 /main.ml | |
parent | bcde99fbe99174a094f38fdda70ad69d65a423f4 (diff) | |
download | SemVerif-Projet-73fa920959d22c084265fe847f4788564bf49700.tar.gz SemVerif-Projet-73fa920959d22c084265fe847f4788564bf49700.zip |
Achieve nothing.
Diffstat (limited to 'main.ml')
-rw-r--r-- | main.ml | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -11,12 +11,19 @@ You should modify this file to call your functions instead! *) +open Abstract_syntax_tree +open Constant_domain (* parse and print filename *) let doit filename = let prog = File_parser.parse_file filename in - Abstract_syntax_printer.print_prog Format.std_formatter prog - + 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) (* parses arguments to get filename *) let main () = |