Skip to content

Semantic Check with MiniJava as the second project for the course "Compilers" of the Department of Informatics of the University of Athens.

Notifications You must be signed in to change notification settings

nickst97/MiniJava_Static_Checking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniJava Static Checking (Semantic Analysis)

Academic Year of 2019-2020

This project is about building a compiler for MiniJava. MiniJava is a subset of Java that is designed so that its programs can be compiled by a full Java compiler like javac. The implementation is based on the use of two GJDepthFirst visitors and one Symbol Table. The Symbol Table is a hash table that supports the storage and the access of all the classes and the methods, that the input program has. The two visitors are being used to insert all the definitions into the Symbol Table and to check the whole program for possible syntax errors. After a successful compiling, the program is printing the variables' and methods' offsets.

Supervisors

About

Semantic Check with MiniJava as the second project for the course "Compilers" of the Department of Informatics of the University of Athens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published