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: over 2 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
rui314/chibiccAn open-source C compiler that aims to implement all C11 features and compile real-world programs correctly.9,774
doctorwkt/acwjWriting a compiler for a simplified version of the C programming language from scratch.10,644
tboox/tboxA 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-compilerAn educational compiler project implementing a simple C compiler with x86 assembly code generation487
rui314/8ccAn experimental C compiler that aims to compile itself and supports various language features while keeping the code concise.6,166
c3lang/c3cA compiler for an evolution of the C language3,085
jamesroutley/write-a-hash-tableImplementing an open-addressed, double-hashed hash table in C3,552
checkedc/checkedcAn extension to C that adds bounds checking and type safety to existing C code.3,221
rui314/9ccA compiler project that compiles C code to x86-64 assembly using an intermediate representation and manual memory management.1,836
thealgorithms/cA collection of algorithms implemented in C for educational purposes19,440
orangeduck/mpcA lightweight and powerful library for building parsers of varying complexity using parser combinators.2,691
jart/cosmopolitanA 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-algorithmsA collection of commonly used algorithms in C.3,368
mortdeus/legacy-ccRepresents the earliest versions of a C compiler from the 1970s, no longer compilable with modern compilers.3,784
jserv/amaccA compiler for the Arm architecture that compiles a subset of C to generate executables and supports just-in-time execution.1,018