awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
rui314 avatar

rui314/8cc

0
View on GitHub↗
6,395 stars·768 forks·C·MIT·10 views

8cc

A Small C Compiler

Features

  • C11 - Compiles C11 source files into x86-64 Linux executables supporting all language features from the 2011 standard.
  • Recursive Descent Parsers - Parses C source code using mutually recursive functions that directly mirror the grammar rules of the language.
  • Self-Hosting Toolchains - Verifies compiler correctness by using it to compile its own source code through a bootstrap process.
  • Three-Stage Bootstrap Builds - Builds the compiler from its own source code to verify correctness through a three-stage bootstrap process.
  • Three-Stage Bootstrap Pipelines - Verifies compiler correctness by compiling its own source code through three successive build stages.
  • C11 Compilers - Builds a compiler for the C11 language standard, covering lexing, parsing, and code generation for x86-64 Linux.
  • Small C Compilers - A small compiler that translates C11 source code into x86-64 Linux executables with full language support.
  • Direct Assembly Emitters - Outputs x86-64 assembly instructions directly from the parser, bypassing intermediate code generation layers.
  • Single-Pass Generators - Generates x86-64 machine code in a single traversal of the abstract syntax tree without intermediate representations.
  • Compiler Reference Implementations - Provides a small, readable reference implementation for learning how a C compiler works.
  • Minimalist - Handles C preprocessing directives with a compact, inline design that avoids external preprocessor dependencies.
  • Compilers - Small C compiler implementation.

Star history

Star history chart for rui314/8ccStar history chart for rui314/8cc

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to 8cc

Similar open-source projects, ranked by how many features they share with 8cc.
  • rui314/chibiccrui314 avatar

    rui314/chibicc

    11,694View on GitHub↗

    Chibicc is a C11 compiler designed as a reference implementation for studying compiler construction. It translates C source code into machine-specific assembly instructions by utilizing a pipeline that includes lexical analysis, recursive descent parsing, and single-pass code generation. The project serves as an educational tool for understanding the internal architecture of compilers, from initial tokenization to the final emission of machine code. The compiler distinguishes itself through its self-hosting capability, which allows the software to compile its own source code into a functional

    C
    View on GitHub↗11,694
  • jamiebuilds/the-super-tiny-compilerjamiebuilds avatar

    jamiebuilds/the-super-tiny-compiler

    28,525View on GitHub↗

    This project is an educational compiler implementation and architecture demo. It serves as a small-scale C-style language compiler designed to demonstrate the fundamental stages of transforming source code into executable machine instructions. The codebase functions as a tool for compiler architecture education and design prototyping. It illustrates the process of building an educational language implementation to help users understand the mechanics of parsing and code generation. The implementation covers the primary stages of a compiler pipeline, including regular expression tokenization,

    JavaScript
    View on GitHub↗28,525
  • thejameskyle/the-super-tiny-compilerthejameskyle avatar

    thejameskyle/the-super-tiny-compiler

    28,527View on GitHub↗

    This project is an educational compiler implementation and a minimalist compiler construction tutorial. It serves as a practical example of how to build a functional compiler through a simplified end-to-end development process, transforming source code into executable instructions. The implementation is designed to teach the fundamentals of language implementation and compiler design. It focuses on the essential mechanics of transforming source code by demonstrating the core architecture of a translation process. The system covers the primary stages of compilation, including lexical analysis

    JavaScript
    View on GitHub↗28,527
  • doctorwkt/acwjDoctorWkt avatar

    DoctorWkt/acwj

    13,235View on GitHub↗

    This project is a compiler development tutorial that provides a series of guides and exercises for building a complete compiler from scratch. It focuses on the implementation of a structured compilation pipeline to transform high-level source code into executable machine instructions. The project covers the creation of a machine code generator for specific processor architectures and a static analysis framework. This framework includes methodologies for implementing type checking and constant folding to verify logic correctness before the final execution phase. The instructional material enc

    Cccompilerlexical-analysis
    View on GitHub↗13,235
See all 30 alternatives to 8cc→

Frequently asked questions

What does rui314/8cc do?

A Small C Compiler

What are the main features of rui314/8cc?

The main features of rui314/8cc are: C11, Recursive Descent Parsers, Self-Hosting Toolchains, Three-Stage Bootstrap Builds, Three-Stage Bootstrap Pipelines, C11 Compilers, Small C Compilers, Direct Assembly Emitters.

What are some open-source alternatives to rui314/8cc?

Open-source alternatives to rui314/8cc include: rui314/chibicc — Chibicc is a C11 compiler designed as a reference implementation for studying compiler construction. It translates C… jamiebuilds/the-super-tiny-compiler — This project is an educational compiler implementation and architecture demo. It serves as a small-scale C-style… thejameskyle/the-super-tiny-compiler — This project is an educational compiler implementation and a minimalist compiler construction tutorial. It serves as a… doctorwkt/acwj — This project is a compiler development tutorial that provides a series of guides and exercises for building a complete… anthropics/claudes-c-compiler — Claudes C Compiler is a self-contained C compiler toolchain that parses source code, optimizes intermediate… alangpierce/sucrase — Sucrase is a high-speed transpilation tool that compiles modern JavaScript, TypeScript, JSX, and Flow to standard…