Adding more tests, fixing one test for miniImp, adding more functionality to miniFun
This commit is contained in:
@ -175,7 +175,7 @@ and evaluate_b (mem: memory) (exp_b: b_exp) =
|
||||
)
|
||||
|
||||
|
||||
let reduce (iin : int) (program: p_exp) =
|
||||
let reduce (program: p_exp) (iin : int) =
|
||||
match program with
|
||||
Main (vin, vout, expression) -> (
|
||||
let mem : memory = {assignments = (VariableMap.empty |> VariableMap.add vin iin)} in
|
||||
|
||||
Reference in New Issue
Block a user