Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.29 KB

File metadata and controls

32 lines (24 loc) · 1.29 KB

#-*- mode: org -*-

Part Three

tests for x86 frame

implement (create-x86frame) & etc

The current implementation is tied heavily to the Java classes, making it fairly ugly to use. Before we start depending heavily on its internals, I want to rewrite it using deftype/defprotocol.

The InFrame/InReg types are fine, though.

basic structure of translator

equality of datatypes that depend on (label)

I had to neuter the equality of any datatype that depends on (label), otherwise we can’t test them, because every (label) is unique. We need a special binding that will let us override the initial (label).

tests for translate

fix the interpreter

implement minijava.translate.implementation

attach types to every variable

When we call a method on an object, I need to be able to calculate the address of the function at compile time, so I need its type.

BinaryOp and canon

interface from ir to canon

Optional

reimplement the minijava.ir.canon algorithms