Changed from type to module for cfg and moved to separate lib

This commit is contained in:
elvis
2024-11-21 18:30:19 +01:00
parent 67f1659c7a
commit 4e9f08347b
10 changed files with 466 additions and 360 deletions

View File

@ -1,5 +1,5 @@
open MiniImp
open MiniImp.Cfg
open MiniImp.CfgImp
let () =
let program = "def main with input x output y as
@ -17,4 +17,4 @@ let () =
let converted = convert p in
Printf.printf "%a" Cfg.pp converted
Printf.printf "%a" SSCfg.pp converted