|
Home My Resume JComp Films Standards My Blog |
This is my final year undergraduate project. This deals with the development of a subset of Java Compiler.This project's goal was to develop a Java compiler with minimum, but necessary,functionality that generates a .class file according to the Java Language Specifications. The resulting class file can be run on any standard JVM. The project is implemented using Java in 6 different phases : Scanner, a recursive descent parser, Abstract Syntax Tree construction, Symbol Table construction, Context Checker and Code Generator. The motivation for the project is to acquire strong foundation over Java Language Specification, Java Virtual Machine Specification and coding principles of Java.The finalized grammar for my project has been added to this site. I have implemented the project in different phases. They are: 1. Lexical Analysis 2. Parser 3. Abstract Syntax Tree 4. JTable 5. ASTVisitor 6. Context Checker 7. ParserUtil 8. Code Generator Other Files: 1. Token 2. TokenConstants The final project report is here. |