mirror of
https://github.com/ProgramSnail/pass_strategy_synthesis.git
synced 2026-03-12 02:57:09 +00:00
functions rewrite with ocanren syntax extension
This commit is contained in:
parent
f15613d192
commit
118834c9b7
3 changed files with 399 additions and 1 deletions
|
|
@ -354,9 +354,12 @@ struct
|
|||
run q (fun q -> eval_prog (inj all_prog) q)
|
||||
(fun qs -> qs#reify prj_exn)
|
||||
|
||||
(* TODO: fix *)
|
||||
(* let empty_prog = (Prog.T (List.Nil, FunDecl.T (List.Nil, Body.T List.Nil))) *)
|
||||
|
||||
(* TODO: fix *)
|
||||
(* let%expect_test "empty" = *)
|
||||
(* eval_prog_fwd (Prog.T ([], FunDecl.T ([], []))); *)
|
||||
(* eval_prog_fwd empty_prog; *)
|
||||
(* Printf.printf "done!"; *)
|
||||
(* [%expect {| done! |}] *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue