Skip to content

Latest commit

 

History

History

Semantic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Semantic Analysis

Semantic Build Status

Introduction

Semantic analysis is phase of compiler design where the program is checked for its correctness.

Abstract Syntax Tree

Class Hierarchy

Implemented in ast.h file.

Symbol Table

Symbol table is implemented in sym.h file. It is a hash table with chaining. It is implemented using unordered_map from unordered_map library.

Semantic Analyzer

Semantic analyzer is implemented in traversal.h file.

Testing

run make test to run the tests.