rui314/8cc
View on GitHub ↗ ★ 6,429 C
A Small C Compiler
13 mentions on Hacker News by 12 people: 1 story, 12 comments · first 2014-11-05 · latest 2024-01-13
20082026
-
…https://craftinginterpreters.com/contents.html [3]: https://www3.nd.edu/~dthain/compilerbook/ [4]: https://github.com/rui314/8cc [5]: https://github.com/rui314/chibicc [6]: https://www.sigbus.info/how-i-wrote-a-self-hosting-c-compile...…
comment by _f5ah · 2024-01-13 · in Apple hiring compiler developers for improving Swift / C++ interoperability -
…for writing a compiler. [0][1] No, optimisation, on the other hand, is not a simple problem. [0] https://github.com/rui314/8cc [1] https://github.com/rui314/chibicc
comment by shakna · 2022-02-19 · in C meeting is over. C23 added: -
…Here are some candidates: * https://github.com/rswier/c4 * https://github.com/Fedjmike/mini-c * https://github.com/rui314/8cc * https://github.com/rui314/chibicc * https://github.com/aligrudi/neatcc Some of them are actually interpreters,…
comment by certik · 2021-03-09 · in What is the simplest self-compiling subset of C? -
Another small C compiler by the same author: https://github.com/rui314/8cc
comment by saagarjha · 2020-10-04 · in Chibicc: A Small C Compiler -
…made: https://www.sigbus.info/how-i-wrote-a-self-hosting-c-compile... Github sources and history: https://github.com/rui314/8cc The "gen.c" source file might be helpful for some of your questions about x86-64:…
comment by tyingq · 2020-02-17 · in Let’s Build a Compiler (1995) -
Hadn't seen Mini-C before, that's quite the feat. Apart from the awesome C4, I also like 8cc ( https://github.com/rui314/8cc ) in this category. Recently did this myself ( https://github.com/mras0/scc/blob/master/scc.c ) but it took…
comment by mras0 · 2020-02-13 · in A bestiary of single-file implementations of programming languages -
Guys, i just started reading through source code of 8cc and now this new project :). https://github.com/rui314/8cc
comment by bootcat · 2017-10-13 · in SmallerC – Small, Simple, Self-Compiling, Single Pass C Compiler -
…this commit[0] it looks like -a was removed, but usage docs and error messages weren't updated. [0] https://github.com/rui314/8cc/commit/614f6e7b643333b9baaf8fb... Edit: adding link to relevant commit.
comment by hundchenkatze · 2015-12-14 · in How I wrote a self-hosting C compiler in 40 days -
…a self-hosting compiler. I have read the Ken's paper, but when I was writing my C compiler in C ( https://github.com/rui314/8cc/blob/master/lex.c#L306 ), I was not aware that this was what Ken wrote in the paper. It was funny to notice…
comment by rui314 · 2015-12-08 · in “Reflections on Trusting Trust” annotated -
From the README: The code is heavily inspired by https://github.com/rui314/8cc as well as http://bellard.org/tcc/ . I recommend studying the source code of 8cc before contributing here, as 8cc is currently far more mature.
comment by jevinskie · 2015-06-01 · in PicoC: A very small C interpreter -
…struggled to work with other compilers, I think TCC is too terse, and GCC/Clang have too much code. https://github.com/rui314/8cc Got things right, and I am trying continue with it's style. I will be happy if a student can take my compiler…
comment by andrewchambers · 2015-03-17 · in Show HN: WIP C compiler in Go, inspired by 8cc -
▲ 162
8cc: A Small C Compilerstory by adamnemecek · 2015-03-01 · 71 comments
-
…take more than half a day at least. [1] http://www.cs.berkeley.edu/~necula/cil/cil016.html [2] https://github.com/rui314/8cc
comment by rui314 · 2014-11-05 · in C4 – C in 4 functions