A toy C compiler written in V, designed to eventually compile the V language and itself.
VCC is a C compiler written in the V programming language, serving as a toy/educational compiler project. It aims to compile C code, with the long-term goal of compiling the V language itself and achieving self-hosting by compiling its own source code.
Developers and students interested in compiler design, V language enthusiasts, and those looking to understand how compilers work through a minimal, readable codebase.
It provides a straightforward, V-based implementation of a C compiler, making it accessible for learning and experimentation, with the unique goal of supporting the V ecosystem through self-hosting.
C compiler written in V
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Based on the well-documented chibicc project, making it accessible for learning compiler internals through minimal, readable V code.
Leverages V's simplicity and performance goals, offering a modern systems programming context for experimentation and self-hosting aspirations.
Implements all C operators, structs, unions, and loop variable declarations, providing a solid foundation for understanding essential language parsing.
Aims to compile the V language and itself, serving as a practical goal for exploring self-hosting compiler techniques.
Openly admits missing preprocessor, float, enum, and initialization support in the README's WIP list, severely limiting real-world usability.
Described as a 'toy' and the author's first compiler, it lacks optimization, robust error handling, and is prone to bugs for non-trivial code.
Requires the V compiler to be installed, adding setup complexity and tying it to V's evolving, less mature ecosystem.