aalekhm/BasicCCompiler
A basic C language compiler from scratch.
This project helps developers understand how programming languages work by providing the fundamental building blocks of a C-like compiler. It takes source code written in a simplified C-like language and processes it through lexical analysis, syntax analysis, and code generation, ultimately producing instructions that can be run on a custom virtual machine. It's designed for software developers, computer science students, or programming language enthusiasts.
Use this if you want to learn about compiler design by exploring a hands-on, basic implementation of a C-like language compiler and virtual machine.
Not ideal if you need a production-ready compiler for an existing language or a tool to develop applications in C.
Stars
10
Forks
3
Language
C
License
—
Category
Last pushed
Dec 07, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/aalekhm/BasicCCompiler"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
javaparser/javaparser
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
asmjit/asmjit
Low-latency machine code generation
lioncash/biscuit
A runtime code generator for RISC-V
llvm-hs/llvm-hs-pretty
Pretty printer for LLVM AST to Textual IR
bytexenon/Tiny-Lua-Compiler
⛄Possibly the smallest Lua compiler ever