3 ms·
The author using FizzBuzz as a comical-but-recognizable launching point for demonstrating introducing the basics of programming language implementation and RPLY
by avolcano 10y ago
The author using FizzBuzz as a comical-but-recognizable launching point for demonstrating introducing the basics of programming language implementation and RPLY, and the HN comments being nothing but people yelling about FizzBuzz, is a pretty amazing summary of the state Hacker News comments. It also makes me think next time I have a technical article, I should prepend some controversial statement to it just to generate buzz :V
In all seriousness: this is a really cool article, thanks for sharing! I'm not very familiar with RPython or RPLY and it was really cool to see a "real-world" example of it. I actually just read through something similar in JavaScript (https://github.com/thejameskyle/the-super-tiny-compiler https://github.com/thejameskyle/the-super-tiny-compiler). I really should give language implementation a shot one of these days (closest I've come is writing a JSON lexer & parser); always like to read about it!
- _asummers 10y agoThere was a project linked to HN in ~December or November of last year about building your own Lisp, which would probably be a terrific jump off point into that, if you're looking for a place to get started.
- kornish 10y agoNot sure which you're referring to, but this is a very digestible overview on PL implementation by HN's very own nostrademons. https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_...
- _asummers 10y agoI THINK this is the one I'm thinking of, the timeline matches. https://news.ycombinator.com/item?id=10474717 https://news.ycombinator.com/item?id=10474717
- imron 10y ago> I should prepend some controversial statement to it just to generate buzz Nah, those articles tend to fizz out