C Compiler

Open-source C projects categorized as Compiler

Top 23 C Compiler Projects

  • acwj

    A Compiler Writing Journey

    Project mention: A Compiler Writing Journey | news.ycombinator.com | 2022-11-29
  • emojicode

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

    Project mention: >escape | reddit.com/r/surrealmemes | 2022-09-16

    not quite brainfuck, but there's emojicode

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • mir

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

    Project mention: Are Hoistings Possible for C++? | reddit.com/r/cpp | 2022-08-17

    When you say a fork of LLVM, am I correct in assuming that you specifically mean a fork of Clang? I don't see how the compiler backend would affect support for language extensions, regardless of whether it's an exception to that such as Tcc, Cproc, the MIR C jitter, lacc, 8cc, 9cc, and chibicc. Most of those are not for production, excluding Cproc and Tcc (at least according to Suckless or Oasis).

  • 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? | reddit.com/r/ruby | 2022-10-26
  • tinycc

    Unofficial mirror of mob development branch

    Project mention: Bringing a dynamic environment to C: My linker project | news.ycombinator.com | 2022-10-28

    I have found the libtcc from https://github.com/TinyCC/tinycc to be absolutely fantastic. I'm using it to instantaneously compile the C output from my hobby language to create a repl. Once I had the compiler in good shape it allowed me to create a 100% compatible interpreter for (basically) free.

    The libtcc API is minimal. For my needs that has been 100% sufficient and a pleasure to work with.

  • SmallerC

    Simple C compiler

  • ring

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

    Project mention: Fifteen different implementation for the random user application using the Ring programming language (Console, GUI, Qt3D, RayLib, Web, Templates, MVC, etc.) | reddit.com/r/programming | 2022-09-30
  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • amacc

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

    Project mention: Post-Apocalyptic Programming | news.ycombinator.com | 2022-08-08
  • c3c

    Compiler for the C3 language

    Project mention: Learn Enough C to Survive | news.ycombinator.com | 2022-10-16

    > I wish we had C+: C + a few niceties (and not C ++ everything). There's a whole bunch of newer languages aiming at the space C is sitting in, but with a few additions C could be much more ergonomic without having to invent an entire new language.

    I’ve made a pre-processor for C to add some things I miss, although it is currently limited to what can be done without type information and has to keep compatibility with existing C syntax: https://sentido-labs.com/en/library/cedro/202106171400/

    There is another language call C3 that “is a C-like language striving to be an evolution of C, rather than a completely new language”: https://github.com/c3lang/c3c

    If you have the time, I’d like to hear which things you miss in C. There might be something I did not imagine that could be added to Cedro.

  • libfsm

    DFA regular expression library & friends

  • lacc

    A simple, self-hosting C compiler

    Project mention: Are Hoistings Possible for C++? | reddit.com/r/cpp | 2022-08-17

    When you say a fork of LLVM, am I correct in assuming that you specifically mean a fork of Clang? I don't see how the compiler backend would affect support for language extensions, regardless of whether it's an exception to that such as Tcc, Cproc, the MIR C jitter, lacc, 8cc, 9cc, and chibicc. Most of those are not for production, excluding Cproc and Tcc (at least according to Suckless or Oasis).

  • bic

    A C interpreter and API explorer.

  • umka-lang

    Umka: a statically typed embeddable scripting language

    Project mention: Umka: A statically typed embeddable scripting language | news.ycombinator.com | 2022-06-12

    Yaegi needs to be embedded in another golang program. It’s a golang module to evaluate golang. Which is cool, but different from what Umka seems to be.

    Umka is a scripting language with syntax inspired by golang. A language with its own vm that you can embed anywhere, exsmple: https://github.com/vtereshkov/umka-lang/blob/master/examples....

    Yaegi and Umka are two different things.

  • felix

    The Felix Programming Language (by felix-lang)

    Project mention: Not well known programming languages with interesting features? | reddit.com/r/ProgrammingLanguages | 2022-06-20

    [felix] https://github.com/felix-lang/felix Statically typed scripting language with coroutines, functional and procedural programming, polymorphism, explicit kinding, compact linear types, row polymorphism, type classes, C/C++ or better performance.

  • flang

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

  • cproc

    C11 compiler (mirror)

    Project mention: Hand-optimizing the TCC code generator | news.ycombinator.com | 2022-04-07
  • 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
  • MazuCC

    A minimalist C compiler with x86_64 code generation

  • shecc

    A self-hosting and educational C compiler

  • cone

    Cone Programming Language

    Project mention: An Accessible Introduction to Type Theory and Implementing a Type Checker | reddit.com/r/ProgrammingLanguages | 2022-02-14

    Hm sounds interesting ... but I couldn't find the type checker here? https://github.com/jondgoodwin/cone/tree/master/src/c-compiler

  • Gwion

    :musical_note: strongly-timed musical programming language

    Project mention: If musicians named programming languages, what would we be working in? | reddit.com/r/ProgrammerHumor | 2022-11-11

    named mine Gwion https://github.com/Gwion/gwion

  • mini-c

    Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours

  • libfirm

    graph based intermediate representation and backend for optimising compilers

    Project mention: Suggestion for a backend? | reddit.com/r/Compilers | 2022-08-11

    libFirm.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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 2022-11-29.

C Compiler related posts

Index

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

Project Stars
1 acwj 6,996
2 emojicode 2,964
3 mir 1,674
4 ruby-packer 1,482
5 tinycc 1,262
6 SmallerC 1,161
7 ring 1,008
8 amacc 877
9 c3c 847
10 libfsm 810
11 lacc 774
12 bic 770
13 umka-lang 709
14 felix 708
15 flang 682
16 cproc 581
17 wax 576
18 MazuCC 468
19 shecc 463
20 cone 455
21 Gwion 455
22 mini-c 449
23 libfirm 370
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.
www.sonarlint.org