awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jamiebuilds avatar

jamiebuilds/the-super-tiny-compiler

0
View on GitHub↗
28,525 Stars·2,868 Forks·JavaScript·CC-BY-4.0·13 Aufrufe

The Super Tiny Compiler

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, recursive descent parsing, and abstract syntax tree representation. It utilizes a linear pipeline architecture to perform single-pass compilation and direct-to-assembly generation.

Features

  • Architecture Demonstrations - Provides a simplified implementation to demonstrate the core structural stages of a compiler pipeline.
  • Assembly Generators - Provides direct translation from a parsed syntax tree into machine-readable assembly instructions.
  • Educational Compilers - Serves as a small-scale project designed to teach the fundamental construction of a compiler.
  • Recursive Descent Parsers - Implements a recursive descent parser to convert token streams into a hierarchical tree structure.
  • Compiler Architecture Demos - Provides a minimal codebase illustrating the integrated workflow of lexing, parsing, and code generation.
  • Compiler Reference Implementations - Provides a studyable reference implementation of a compiler to demonstrate source-to-executable transformation.
  • Educational Implementations - Implements a small-scale programming language to demonstrate the mechanics of parsing and code generation.
  • Lexical Tokenizers - Uses regular expression pattern matching to perform lexical analysis and tokenize raw input strings.
  • C Source Translators - Translates a basic C-style language into machine-specific assembly instructions.
  • Compiler Design - Implements basic concepts of lexical analysis and syntax translation for design prototyping purposes.
  • Internal Tree Representations - Implements internal tree representations to model the logical structure of the program during the compilation process.
  • Single-Pass Generators - Emits machine instructions directly during the parsing phase in a single traversal of the source.
  • Pipeline Architectures - Organizes the compilation process into a sequential pipeline from lexing to code generation.
  • Programming Languages - A tiny compiler implementation for learning core concepts.

Star-Verlauf

Star-Verlauf für jamiebuilds/the-super-tiny-compilerStar-Verlauf für jamiebuilds/the-super-tiny-compiler

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu The Super Tiny Compiler

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit The Super Tiny Compiler.
  • thejameskyle/the-super-tiny-compilerAvatar von thejameskyle

    thejameskyle/the-super-tiny-compiler

    28,527Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗28,527
  • rui314/chibiccAvatar von rui314

    rui314/chibicc

    11,694Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗11,694
  • rswier/c4Avatar von rswier

    rswier/c4

    10,726Auf GitHub ansehen↗

    c4 is a minimalist C compiler and programming tool designed to translate C source code into executable machine code using a small set of functions. It functions as a stripped-down compilation utility focused on a tiny codebase. The project serves as an educational tool for studying the internal mechanics of the compilation process. It implements minimalist C compilation to demonstrate how source files are transformed into low-level binary executables. The compiler utilizes a single-pass compilation model with recursive descent parsing and direct-to-binary emission. It manages the translation

    C
    Auf GitHub ansehen↗10,726
  • rui314/8ccAvatar von rui314

    rui314/8cc

    6,395Auf GitHub ansehen↗

    A Small C Compiler

    C
    Auf GitHub ansehen↗6,395
Alle 30 Alternativen zu The Super Tiny Compiler anzeigen→

Häufig gestellte Fragen

Was macht jamiebuilds/the-super-tiny-compiler?

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.

Was sind die Hauptfunktionen von jamiebuilds/the-super-tiny-compiler?

Die Hauptfunktionen von jamiebuilds/the-super-tiny-compiler sind: Architecture Demonstrations, Assembly Generators, Educational Compilers, Recursive Descent Parsers, Compiler Architecture Demos, Compiler Reference Implementations, Educational Implementations, Lexical Tokenizers.

Welche Open-Source-Alternativen gibt es zu jamiebuilds/the-super-tiny-compiler?

Open-Source-Alternativen zu jamiebuilds/the-super-tiny-compiler sind unter anderem: thejameskyle/the-super-tiny-compiler — This project is an educational compiler implementation and a minimalist compiler construction tutorial. It serves as a… rui314/chibicc — Chibicc is a C11 compiler designed as a reference implementation for studying compiler construction. It translates C… rswier/c4 — c4 is a minimalist C compiler and programming tool designed to translate C source code into executable machine code… rui314/8cc — A Small C Compiler. doctorwkt/acwj — This project is a compiler development tutorial that provides a series of guides and exercises for building a complete… mishoo/uglifyjs2 — UglifyJS2 is a suite of tools designed for parsing, beautifying, mangling, and minifying JavaScript code. It functions…