Separate stages
The lexer, parser and semantic analyzer have distinct implementation responsibilities.

Personal project / In development
A personal vector language. Vector compiler front and middle ends in C++.
How does text become a program? VLang is a personal vector language compiler built to explore the analysis stages of a language.
C++ implementation of a lexer, parser, semantic analysis and error diagnostics. The main program chains these stages, builds an AST and checks errors before continuing.
The lexer, parser and semantic analyzer have distinct implementation responsibilities.
A shared diagnostic engine records and reports analysis errors.
A block-scoped symbol table organizes identifier resolution.
Front and middle ends finished. Next steps: executable code generation, optimizations and expanded language features.
Let’s talk about opportunities, projects and the engineering challenges ahead.
Connect on LinkedIn