[HN Gopher] A Bestiary of Single-File Implementations of Program... ___________________________________________________________________ A Bestiary of Single-File Implementations of Programming Languages Author : kick Score : 37 points Date : 2020-02-12 21:30 UTC (1 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | ww520 wrote: | Not surprisingly most are lisp. | john-radio wrote: | I laughed at the header in comment at the top of the Super Tiny | Compiler here: https://github.com/jamiebuilds/the-super-tiny- | compiler/blob/... | dmitripopov wrote: | Somehow I still get those chills while reading source code of | programming languages interpreters / compilers. I guess it's like | getting to the origins of life, or something. | downerending wrote: | It is. As a kid, I kind of understood programs, but I could not | even imagine how an interpreter (or compiler) could work. I | partly got a CS degree just so I could learn the answer. | glic3rinu wrote: | Then this talk from David Beazley will blow your mind | https://www.youtube.com/watch?v=VUT386_GKI8 | PaulHoule wrote: | The small C compilers are great. | | I guess if you couldn't write a C compiler in a single small file | (by modern standards) you wouldn't have been able to run a C | compiler on an 8-bit machine. | kick wrote: | Actually, C compilers back then were still pretty large (also, | as far as I'm aware, every machine that UNIX originated on was | at least 16-bit, and the _very_ first machine it ran on was | 18-bit): | | https://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/source/... | | The language was quite a bit smaller, though, and much less | complex. A C2X compiler will be drastically more tedious to | make than this was. | PaulHoule wrote: | That is still not much code. | cellularmitosis wrote: | Readers of this thread might enjoy the collection of links I've | started collecting: | https://gist.github.com/cellularmitosis/1f55f9679f064bcff029... ___________________________________________________________________ (page generated 2020-02-12 23:00 UTC)