C Compiler

Open-source C projects categorized as Compiler | Edit details

Top 23 C Compiler Projects

  • GitHub repo acwj

    A Compiler Writing Journey

    Project mention: "A Compiler Writing Journey" | reddit.com/r/programare | 2021-09-12
  • GitHub repo selfie

    An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.

    Project mention: Compiler Class | news.ycombinator.com | 2021-02-09

    Maybe this is interesting to you as well? https://github.com/cksystemsteaching/selfie

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo mir

    A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR

    Project mention: Nelua Programming Language | news.ycombinator.com | 2021-08-24

    > I wish C was scriptable

    C kinda can be used as scripting language with MIR project https://github.com/vnmakarov/mir

    It was released just a few days ago, and I've successfully use it as an alternative and fast C compiler with Nelua.

  • GitHub repo ruby-packer

    Packing your Ruby application into a single executable.

    Project mention: Hacker News top posts: Sep 21, 2021 | reddit.com/r/hackerdigest | 2021-09-21

    Ruby Packer: distribute your Ruby code as a compiled binary\ (30 comments)

  • GitHub repo SmallerC

    Simple C compiler

    Project mention: NCC, a new ANSI/ISO C compiler | reddit.com/r/osdev | 2021-04-14

    While this is an impressive work, I feel that there are a lot of "tiny" C compilers out there; how is yours any different than SmallerC, TinyC, 8cc, chibicc and many others?

  • GitHub repo tinycc

    Unofficial mirror of mob development branch

    Project mention: Cwerg - an opinionated, light-weight compiler backend | reddit.com/r/ProgrammingLanguages | 2021-07-05
  • GitHub repo ring

    Simple and flexible programming language for applications development (by ring-lang)

    Project mention: Chess 3D (Source Code - Using Qt3D and the Ring programming language) | reddit.com/r/GameDevelopment | 2021-08-03
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo bic

    A C interpreter and API explorer.

    Project mention: Would you all suggest me an interesting -~project~- ideas on c language other than management system and simple games ... | reddit.com/r/C_Programming | 2021-08-27

    Here is link number 1 - Previous text "bic"

  • GitHub repo libfsm

    DFA regular expression library & friends

    Project mention: DFA regular expression library and friends | news.ycombinator.com | 2021-07-01
  • GitHub repo cproc

    C11 compiler (mirror)

    Project mention: Cproc C Compiler | reddit.com/r/patient_hackernews | 2021-08-20
  • GitHub repo c3c

    Compiler for the C3 language

    Project mention: AST Implementation in C | reddit.com/r/ProgrammingLanguages | 2021-08-08

    I would encourage you to look at other implementations as well. The Cone compiler is written in C: https://github.com/jondgoodwin/cone as well as my C3 compiler: https://github.com/c3lang/c3c

  • GitHub repo wax

    A tiny programming language that transpiles to C, C++, Java, TypeScript, Python, C#, Swift, Lua and WebAssembly 🚀

    Project mention: A Tiny Lispy Transpiler | news.ycombinator.com | 2020-12-27
  • GitHub repo MazuCC

    A minimalist C compiler with x86_64 code generation

    Project mention: Blackbird Secure Desktop – a fully open source modern POWER9 workstation without any proprietary code | reddit.com/r/linux | 2021-03-02
  • GitHub repo umka-lang

    Umka: a statically typed embeddable scripting language

    Project mention: VDrift/Umka - Design your own racing car autopilot | reddit.com/r/gamedev | 2021-08-22

    A new version of the VDrift racing simulator that supports embedded scripting in Umka has been released. It lets you design, tune, debug and test your own racing car autopilot without building the whole simulator from source.

  • GitHub repo Gwion

    :musical_note: strongly-timed musical programming language

    Project mention: Want a technical writing project!!! | reddit.com/r/technicalwriting | 2021-05-24

    I have a nice project badly needing documentation. But tbh there's no way you can get paid for that atm. Still it's a nice way to show off your skills. https://github.com/Gwion/Gwion

  • GitHub repo shecc

    A self-hosting and educational C compiler

    Project mention: Compiler Class | news.ycombinator.com | 2021-02-09

    I'm looking at this one for a CPU design I've been working on. :)


  • GitHub repo never

    Never: statically typed, embeddable functional programming language.

    Project mention: May 2021 monthly "What are you working on?" thread | reddit.com/r/ProgrammingLanguages | 2021-05-01

    Recently Never was extended with tuples. I hope to add documentation and examples soon. Also some bugs and improvements were removed and added. Now I am looking for ideas what to do next. Maybe you could suggest something?

  • GitHub repo cone

    Cone Programming Language

    Project mention: AST Implementation in C | reddit.com/r/ProgrammingLanguages | 2021-08-08

    I would encourage you to look at other implementations as well. The Cone compiler is written in C: https://github.com/jondgoodwin/cone as well as my C3 compiler: https://github.com/c3lang/c3c

  • GitHub repo nxdk

    The cross-platform, open-source SDK to develop for original Xbox: *new* xdk

    Project mention: Looking to purchase a working dev/debug unit | reddit.com/r/originalxbox | 2021-09-10
  • GitHub repo ape

    Ape Programming Language

    Project mention: Show HN: Ape Playground | news.ycombinator.com | 2021-03-25
  • GitHub repo One

    One (onelang) is an open-source system programming language that makes it easy to build reliable, efficient and performant software. (release as soon) 1️⃣ 🕐 🩱 (by One-Language)

    Project mention: How to build your virtual workspace | dev.to | 2021-09-11

    First things first, we need to build the image. Indeed there is nothing special in this section, because we will only write a Dockerfile for our image. Yet, what make this image special are the pieces of software that will include. Generally, you ought to setup packages required to run your project and your tests, along side with a version control system like git. As far as I am concerned, I included the following packages in my lightweight alpine base image:

  • GitHub repo poprc

    A Compiler for the Popr Language

    Project mention: Benefits of writing compilers in C as opposed to C++ | reddit.com/r/ProgrammingLanguages | 2021-01-02

    * There is one use at startup which could be replaced with mmap or sbrk, or eliminated altogether for true static allocation.

  • GitHub repo mass

    A compiler for a macro-oriented language that compiles straight to x86_64 binaries (no LLVM, no linker).

    Project mention: Meta Assembly Language | news.ycombinator.com | 2021-09-01

    Here is the Fizz Buzz example from the screenshots: https://github.com/grassator/mass/blob/master/fixtures/fizz_...

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-09-21.


What are some of the best open-source Compiler projects in C? This list will help you:

Project Stars
1 acwj 5,617
2 selfie 1,371
3 mir 1,297
4 ruby-packer 1,165
5 SmallerC 1,026
6 tinycc 911
7 ring 808
8 bic 735
9 libfsm 656
10 cproc 454
11 c3c 451
12 wax 450
13 MazuCC 447
14 umka-lang 420
15 Gwion 324
16 shecc 317
17 never 283
18 cone 281
19 nxdk 220
20 ape 212
21 One 188
22 poprc 179
23 mass 133
Find remote jobs at our new job board 99remotejobs.com. There are 25 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives