summaryrefslogtreecommitdiff
path: root/src/main.ml
blob: b82485b2fb811ad84f19bdcc75117ff3a466afe0 (plain)
1
2
3
4
5
6
7
open CfimOfJson

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"