annotate lab4/tran.mli @ 0:bfdcc3820b32

Basis
author Mike Spivey <mike@cs.ox.ac.uk>
date Thu, 05 Oct 2017 08:04:15 +0100
parents
children
rev   line source
mike@0 1 (* lab4/tran.mli *)
mike@0 2 (* Copyright (c) 2017 J. M. Spivey *)
mike@0 3
mike@0 4 (* The function |translate| takes the body of a procedure (represented
mike@0 5 as a list of optrees) and generates machine code as a sequence of calls
mike@0 6 to the interface provided by the Target module. *)
mike@0 7
mike@0 8 (* |translate| -- generate code for a procedure body *)
mike@0 9 val translate :
mike@0 10 Optree.symbol -> int -> int -> int -> Optree.optree list -> unit
mike@0 11
mike@0 12 val debug : int ref