-
From-Scratch Implementation: Built with a focus on a deep understanding of compiler theory, without relying on pre-existing compiler frameworks (apart from the grammar tools).
-
Educational Resource: The modular and well-documented codebase makes it an ideal reference for students and developers interested in compiler construction.
-
ANTLR: A renowned parser generator used to define the formal language grammar (Grammar.g4). ANTLR automates the creation of the lexer and parser, ensuring accurate tokenization and syntax checking.
-
VGen: A utility used to generate the skeleton classes for the Abstract Syntax Tree (AST). By processing a formal abstract grammar, Vgen provided the essential data structures for the semantic analysis phase.
-
Java: The core logic of the compiler, including the visitor pattern for AST traversal, symbol table management, type checking, and code generation, is implemented entirely in Java.
📚 See docs for further details.