Fully manual compiler for greek++: a custom language with Greek keywords and imperative syntax. Implements all stages — custom lexer, recursive descent parser, semantic analysis, quad-based IR, and RISC-V code generation — entirely from scratch in Java, with no parser generators. Outputs RISC-V assembly compatible with tools like Ripes.
java parser compiler recursive-descent lexer symbol-table intermediate-representation risc-v semantic-analysis manual-compiler quad-representation
-
Updated
Mar 7, 2026 - Java