mirror of
https://github.com/ProgramSnail/pass_strategy_synthesis.git
synced 2025-12-31 05:08:15 +00:00
interpretera, logic & abstract types draft, fixes
This commit is contained in:
parent
658415536b
commit
1c74f0c3ef
5 changed files with 112 additions and 8 deletions
|
|
@ -69,7 +69,7 @@ let init_state prog = { s_func = prog.p_func |> List.to_seq |> M.of_seq;
|
|||
(* s_value = UnitV; *)
|
||||
};;
|
||||
|
||||
let find_func name state = M.find_opt name state.s_func
|
||||
let find_func name state = M.find_opt name state.s_func;;
|
||||
|
||||
let find_frame_var name frame = M.find_opt name frame.f_vars;;
|
||||
let rec find_frames_var name frames =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue