e0/lib/lowering.ml

10 lines
212 B
OCaml
Raw Normal View History

open Ast
open Ir
(* Processing state for this particular scope *)
2022-03-23 06:12:37 +00:00
type state = { parent : state option }
2022-03-23 06:12:37 +00:00
let lower (func : func) : (irexpr list, unit) result =
let { name = _; body = _ } = func in
Error ()