Tag Archives: Compiler/Interpreter

Register Allocator for Compiler

compiler-register-allocator-icon

Dates

Technology

OO Programming, Java, Assembly, Compiler/Interpreter, Notepad++, ANTLR

Info

I developed Top-Down & Bottom-Up Local Register Allocators, using the ANTLR compiler generation toolkit. A Register is a memory location on a Processor. A Register Allocator will transform an Assembly Program that has unique & unlimited virtual memory locations, to an Assembly Program that has a limited set of physical memory locations, which are reused as needed.

Continue reading

Simple Parser & Interpreter

compiler-simple-interpreter-icon

Dates

Technology

OO Programming, Java, Assembly, Compiler/Interpreter, Notepad, ANTLR

Info

I created a simple Parser and Interpreter for an Assembly-like programming language, using the ANTLR compiler generation toolkit. I wrote Regular Expressions and parsing rules that defined the programming language; that is what the instructions were and how they could be used. I then developed the interpreter that would read and execute programs written in this programming language.

Continue reading