Skip to content

Ask HN: List of (open source) C compilers

13 pointsfm776 comments
On HN

Over the years I found quite some interesting C compiler projects here on HN, sometimes introduced as its on thread, sometimes buried as a simple link deep down in some comments. Here and there I bookmarked them, but certainly not all.

It would be cool if we had one single page where all the wonderful compiler projects are collected, so my question is: can we somehow compile/assemble/put together a list of C compilers in this thread in the form of

  *) Name of the project
  *) Link to homepage/sourcecode
  *) programming language used for the compiler
  *) compiles to … (x86 binary, asm-text, etc…)
  *) whatever else might be interesting 
Tiny compilers / unfinished projects / educational projects / subsets of C / etc… are also very welcome.

Comments

https://en.m.wikipedia.org/wiki/List_of_compilers

gcc Clang Chibicc Pcc Tinycc (tcc) Lcc Cproc Amsterdam Compiler Toolkit Compcert Ch ...

Project name: Vacietis

URL: https://github.com/vsedach/Vacietis

Programming language used for the compiler: Common Lisp

Compiles to: Common Lisp

Clang, TCC (sorry for not giving details because I have not really used them). Closed source compilers I know are VS and Borland.

fm77OP

cproc: a C11 compiler

  *) https://github.com/michaelforney/cproc
  *) programming language used for the compiler: C
  *) using QBE as a backend - https://c9x.me/compile/
fm77OP

chibicc: A Small C Compiler

  *) https://github.com/rui314/chibicc
  *) programming language used for the compiler: C
  *) emits assembly text (x86-64)

Most of us have just used gcc since the mid-90s.

Laziness, I know. But it's there on the machine, so we use it.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.