C Compiler

Open-source C projects categorized as Compiler

Top 23 C Compiler Projects

  • acwj

    A Compiler Writing Journey

    Project mention: Toy C compiler, worth having an IR stage? | /r/Compilers | 2023-07-01

    I wrote https://github.com/DoctorWkt/acwj. I'm working on a version with an IR so I can add some optimisations to it. I'd say, yes, have an IR :-)

  • emojicode

    😀😜🔂 World’s only programming language that’s bursting with emojis

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • mir

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

    Project mention: Implementing Interactive Languages | news.ycombinator.com | 2023-08-25
  • tinycc

    Unofficial mirror of mob development branch

    Project mention: AST vs. Bytecode: Interpreters in the Age of Meta-Compilation [pdf] | news.ycombinator.com | 2023-08-15

    I can highly recommend libtcc (https://github.com/TinyCC/tinycc.git) for this kind of thing. I recently ported the code developed in linux on an ARM chromebook to a generic windows box in 20 minutes.

  • ruby-packer

    Packing your Ruby application into a single executable.

    Project mention: Is there a way to package up a Ruby script as a desktop executable app? | /r/ruby | 2022-10-26
  • SmallerC

    Simple C compiler

  • ring

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

    Project mention: Can someone please tell me what language this is? | /r/learnprogramming | 2023-04-04

    Official website: https://ring-lang.net/

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • c3c

    Compiler for the C3 language

    Project mention: Give me your feature ideas for a C-like | /r/ProgrammingLanguages | 2023-06-14

    Tuples are being discussed, although I am unsure if it would be sufficiently useful. (Discussion here and here if you want to leave some thoughts)

  • amacc

    Small C Compiler generating ELF executable Arm architecture, supporting JIT execution

    Project mention: Best practice to store context for a C compiler | /r/Compilers | 2023-06-20


  • umka-lang

    Umka: a statically typed embeddable scripting language

    Project mention: The Umka scripting language released: Now with closures, type switch statements and faster strings | /r/programming | 2023-09-20
  • libfsm

    DFA regular expression library & friends

  • lacc

    A simple, self-hosting C compiler

  • bic

    A C interpreter and API explorer.

  • flang

    Flang is a Fortran language front-end designed for integration with LLVM.

    Project mention: Best book on writing an optimizing compiler (inlining, types, abstract interpretation)? | /r/ProgrammingLanguages | 2023-04-17

    I think a lot of this material is in research papers and code. Take a look a MLTon or Clang Fortran

  • felix

    The Felix Programming Language (by felix-lang)

  • wax

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

    Project mention: Wax Compiler | news.ycombinator.com | 2022-11-16
  • shecc

    A self-hosting and educational C compiler

  • nature

    🍀 The Nature Programming Language, may you be able to experience the joy of programming.

    Project mention: A programming language and its accompanying compiler, easily interact with C language. | /r/opensource | 2023-09-28

    Official Website: https://nature-lang.org

  • cproc

    C11 compiler (mirror)

    Project mention: List of (open source) C compilers | news.ycombinator.com | 2023-04-11
  • w2c2

    Translates WebAssembly modules to portable C

    Project mention: DeviceScript: TypeScript for Tiny IoT Devices | news.ycombinator.com | 2023-05-24
  • Gwion

    :musical_note: strongly-timed musical programming language

    Project mention: The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them! | /r/programming | 2023-03-03

    Gwion ( https://github.com/Gwion/gwion ) is a programming language that I intended to use in my musical work. It has grown past the hobby music lang, and now has users, a company using it, is semantically much more evolved than it's predecessor (ccrma's chuck) and also more performant. Would be happy to talk more about it

  • cone

    Cone Programming Language

  • MazuCC

    A minimalist C compiler with x86_64 code generation

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

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 2023-09-28.

C Compiler related posts


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

Project Stars
1 acwj 8,826
2 emojicode 3,122
3 mir 1,960
4 tinycc 1,593
5 ruby-packer 1,538
6 SmallerC 1,253
7 ring 1,145
8 c3c 1,059
9 amacc 951
10 umka-lang 886
11 libfsm 877
12 lacc 814
13 bic 787
14 flang 734
15 felix 734
16 wax 630
17 shecc 629
18 nature 621
19 cproc 618
20 w2c2 543
21 Gwion 506
22 cone 490
23 MazuCC 485
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.