Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 375 Bytes

README.md

File metadata and controls

3 lines (3 loc) · 375 Bytes

COOL_Compiler

This repo contains the Compiler design done for COOL programming language using ANTLR library. The lexer is done using Regular Expressions and the parser is represented as a pure CFG grammer. AST (Abstract Syntax Tree) is done by extending the parser CFG with classes for each production and Symbol table and type verification are done using Java HashTables.