ig?
This commit is contained in:
parent
939d015453
commit
ebd9544870
1 changed files with 1 additions and 2 deletions
|
@ -239,8 +239,7 @@ let translate (p : S.t) env =
|
||||||
let fname = make_fresh_function_identifier () in
|
let fname = make_fresh_function_identifier () in
|
||||||
let x = List.map identifier x in
|
let x = List.map identifier x in
|
||||||
let efs, e = expression env e in
|
let efs, e = expression env e in
|
||||||
failwith "Students! This is your job (S.Fun)!"
|
T.DefineFunction (fname, x, e) :: efs, e
|
||||||
(* efs, T.DefineFunction (fname, x, e) *)
|
|
||||||
| S.AllocateBlock a ->
|
| S.AllocateBlock a ->
|
||||||
let afs, a = expression env a in
|
let afs, a = expression env a in
|
||||||
afs, allocate_block a
|
afs, allocate_block a
|
||||||
|
|
Reference in a new issue