Date of Award

5-6-2010

Document Type

Thesis

Degree Name

Computer Science, MS

First Advisor

Jeff Jenness

Committee Members

Edward Hammerand; Hai Jiang; Xiuzhen Huang

Call Number

LD 251 .A566t 2010 W47

Abstract

This thesis covers a novel tool, called a generic interpreter, for the implementation of compilers. Compilers are traditionally implemented as a series of phases where each phase takes input from the previous phase and feeds it to the next phase. Each phase is ad-hoc which means that it is written specifically to read a single form of input and write a single form of output. A generic interpreter uses principles of object-oriented and generic programming to implement a single generic engine that can read and write more general forms of input and output and therefore can be used by all phases of compilation. When each phase of compilation uses a single core, the implementation of each phase becomes simpler, more consistent, and the different phases can be ordered and combined in more flexible ways.

Rights Management

Creative Commons Attribution 4.0 International License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.