view lab4/tran.mli @ 1:b5139af1a420 tip basis

Fixed permissions on compile scripts
author Mike Spivey <mike@cs.ox.ac.uk>
date Fri, 13 Oct 2017 17:27:58 +0100
parents bfdcc3820b32
children
line wrap: on
line source
(* lab4/tran.mli *)
(* Copyright (c) 2017 J. M. Spivey *)

(* The function |translate| takes the body of a procedure (represented
   as a list of optrees) and generates machine code as a sequence of calls
   to the interface provided by the Target module. *)

(* |translate| -- generate code for a procedure body *)
val translate : 
  Optree.symbol -> int -> int -> int -> Optree.optree list -> unit

val debug : int ref