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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • mir

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

    Project mention: Ravi is a dialect of Lua, with JIT and AOT compilers | news.ycombinator.com | 2024-03-18

    MIR comes from the Rubyverse and isn't related to LLVM MLIR.

    https://github.com/vnmakarov/mir?tab=readme-ov-file#mir

  • 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.

  • SmallerC

    Simple C compiler

    Project mention: Cwerg: C-like language that can be implemented in 10kLOC | news.ycombinator.com | 2024-03-21
  • c3c

    Compiler for the C3 language

    Project mention: Odin Programming Language | news.ycombinator.com | 2024-01-01
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • 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/

  • shecc

    A self-hosting and educational C optimizing compiler

    Project mention: A self-hosting and educational C optimizing compiler | news.ycombinator.com | 2024-01-07

    Yes, consider the case of shecc. It requires just a handful of C code lines to interpret directives set in the C preprocessor. Unlike relying on existing tools like cpp, as, or ld, shecc stands alone as a minimalist cross-compiler. This design could be particularly beneficial for students delving into the study of compiler construction. See https://github.com/sysprog21/shecc/blob/master/src/lexer.c#L...

  • 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

    amacc

  • umka-lang

    Umka: a statically typed embeddable scripting language

    Project mention: VDrift: Cross-Platform Driving Simulation | news.ycombinator.com | 2023-12-28
  • libfsm

    DFA regular expression library & friends

  • lacc

    A simple, self-hosting C compiler

    Project mention: Lacc – A simple, self-hosting C compiler | news.ycombinator.com | 2024-02-14
  • bic

    A C interpreter and API explorer.

  • felix

    The Felix Programming Language (by felix-lang)

    Project mention: Felix: Statically typed, performant scripting language with native C++ embedding | news.ycombinator.com | 2023-12-28
  • flang

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

    Project mention: Supporting BFLOAT16 in ISO_Fortran_env: not recommended | news.ycombinator.com | 2024-03-15

    It is great to know that LLVM Flang supports BFLOAT16!

    I look forward to trying it in my project ( http://www.libprima.net ), although LLVM Flang is not ready to use last time I tried.

    As a side note, the Classic Flang ( https://github.com/flang-compiler/flang ) does not support kind = 3.

  • nature

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

    Project mention: Nature: Programming language to experience the joy of programming | news.ycombinator.com | 2023-10-13

    The primary channel for communication right now is https://github.com/nature-lang/nature , where you can engage and keep up-to-date through issues, discussions, and watching the repository.

    Additionally, this is my first time hearing about the Mastodon platform, it looks really cool.

  • wax

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

  • cproc

    C11 compiler (mirror)

    Project mention: Oasis – a small, statically-linked Linux system | news.ycombinator.com | 2024-01-26

    Michaelforney has also built croc [1], a qbe based C compiler. Really impressive!

    [1]: https://github.com/michaelforney/cproc

  • w2c2

    Translates WebAssembly modules to portable C

    Project mention: Build your own WebAssembly Compiler | news.ycombinator.com | 2023-12-03

    For AOT, the simplest approach, that actually produces the fastest native code, is to naively translate WASM opcodes to C.

    This is for example what W2C2 does: https://github.com/turbolent/w2c2

  • Gwion

    :musical_note: strongly-timed musical programming language

  • MazuCC

    A minimalist C compiler with x86_64 code generation

  • cone

    Cone Programming Language

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2024-03-21.

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 9,731
2 emojicode 3,187
3 mir 2,172
4 tinycc 1,766
5 ruby-packer 1,551
6 SmallerC 1,290
7 c3c 1,270
8 ring 1,212
9 shecc 1,020
10 amacc 990
11 umka-lang 956
12 libfsm 895
13 lacc 847
14 bic 800
15 felix 785
16 flang 772
17 nature 732
18 wax 670
19 cproc 665
20 w2c2 661
21 Gwion 514
22 MazuCC 505
23 cone 502
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com