write-a-C-interpreter

Self-running C compiler

A simple C interpreter that can interpret and run itself

Write a simple interpreter of C. Inspired by c4 and largely based on it.

GitHub

4k stars
152 watching
747 forks
Language: C
last commit: 10 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
rui314/chibicc An open-source C compiler that aims to implement all C11 features and compile real-world programs correctly. 9,774
doctorwkt/acwj Writing a compiler for a simplified version of the C programming language from scratch. 10,644
tboox/tbox A comprehensive C library providing a wide range of functionality for various applications, including networking, concurrency, data storage and manipulation. 4,906
lotabout/let-s-build-a-compiler An educational compiler project implementing a simple C compiler with x86 assembly code generation 487
rui314/8cc An experimental C compiler that aims to compile itself and supports various language features while keeping the code concise. 6,166
c3lang/c3c A compiler for an evolution of the C language 3,085
jamesroutley/write-a-hash-table Implementing an open-addressed, double-hashed hash table in C 3,552
checkedc/checkedc An extension to C that adds bounds checking and type safety to existing C code. 3,221
rui314/9cc A compiler project that compiles C code to x86-64 assembly using an intermediate representation and manual memory management. 1,836
thealgorithms/c A collection of algorithms implemented in C for educational purposes 19,440
orangeduck/mpc A lightweight and powerful library for building parsers of varying complexity using parser combinators. 2,691
jart/cosmopolitan A build-once run-anywhere C library that reconfigures stock compilers to output a POSIX-approved format for native execution on multiple platforms. 18,558
fragglet/c-algorithms A collection of commonly used algorithms in C. 3,368
mortdeus/legacy-cc Represents the earliest versions of a C compiler from the 1970s, no longer compilable with modern compilers. 3,784
jserv/amacc A compiler for the Arm architecture that compiles a subset of C to generate executables and supports just-in-time execution. 1,018