Compiler-cse340

A basic compiler which creates intermediate code from source code

This project is maintained by rajeshsurana

Welcome to Rajesh's Compiler wiki!

This compiler is a result of course CSE340 project. It is completely error free and robust! Let's start checking it now! This is the compiler for Java like language. It almost covers all the constructs. In the Parser Requirement document you can check out the supported constructs. You first need to make sure that JDK is installed on your machine. Then, download the .jar from here by clicking on the 'view raw'.

GUI of this compiler is divided into 4 sections-

1.Lexer

Requirement and specifications can be found here. Here is the snapshot of Lexer-Lexer

2.Parser

Requirement and specifications can be found here. Snapshot of Parser-Parser

3.Semantic Analyzer

Requirement and specifications can be found here. Snapshot of Semantic Analyzer-Semantic Analyzer

4.Code Generator

Requirement and specifications can be found here. To execute the output of the code generator paste the output in the Virtual machine which can be downloaded from here. Snapshot of Code Generator-Code Generator


Note:All problem statements are provided by the course instructor (Prof. Gonzalez-Sanchez, Javier).