summaryrefslogtreecommitdiff
path: root/src/main.ml
blob: 024209ff6eb48a65c0233e10e810d20a51cf2a86 (plain)
1
2
3
4
5
6
7
8
9
10
open CfimOfJson

(*open Interpreter*)
open Print

let () =
  let json = Yojson.Basic.from_file "../charon/charon/tests/test1.cfim" in
  match cfim_module_of_json json with
  | Error s -> Printf.printf "error: %s\n" s
  | Ok _ast -> print_endline "Ok"