Re:Let's make a Teeny Tiny compiler
by molticrystal on Saturday June 06, 2020 @06:19PM
(#23442776)
Always enjoyed Fabrice Bellard's work, like
https://bellard.org/otcc/ which is 2048 bytes and self compiles & https://bellard.org/tcc/ , his TinyEmu and Javascript PC Emulator that boots several OSes including linux are cool as well.
Re:Let's make a Teeny Tiny compiler
by staycoolboy on Saturday June 06, 2020 @06:42PM
(#23442965)
<I deleted this because it wasn't nice>
Actually, my students were having trouble following other tutorials so I wrote this for them. (I also just love talking about compilers!)
I’d summarize my tutorial as a shorter version of Crenshaw’s.
I love seeing more and more compiler tutorials. They all have different goals and perspectives.
Re:Let's make a Teeny Tiny compiler
by staycoolboy on Saturday June 06, 2020 @06:58PM
(#23443102)
Sorry, my comment wasn't in the HN spirit.
Been on many internet forums for the past 20 years. The first time I've ever seen such candid yet terse retraction. This is what I like about HN as a community (either that, or moderation is out of this world).
Re:Let's make a Teeny Tiny compiler
by userbinator on Sunday June 07, 2020 @02:17AM
(#23445192)
It's disturbing to see such praise for censorship, unless that comment was really crossing the line. (I didn't see it.) Proof that HN is as much of an echo-chamber as all the others, despite somewhat discussion that it isn't.
(...and meanwhile I get downvoted for making an observation.)
My favourite demonstration of a "teeny tiny compiler" is still C4: https://news.ycombinator.com/item?id=8558822 Perhaps it inspired all these compiler articles?