Llisp: Lisp in Lisp
stopa.io
stopa.io
Don't get me wrong, it's fun. But if you want to learn about things, writing a Lisp interpreter in some (relatively speaking) low-level language like C/C++ is a much more satisfying experience. And then write a Lisp interpreter to run on your Lisp.
Bonus points if you get to optimize tail recursion. (I didn't, but I didn't try to, so I don't consider it a failure.)
Real Programmers start with Steele and Sussman's Design of a LISP-based microprocessor, and hit the FPGAs before they so much as write 'cons'!
Jokes aside, I'm hoping the author continues to feel free to spend their time implementing whatever idea they come across that is interesting. Sure, it's not as advanced as implementing something in C/C++, but maybe the authors goal was just to understand their preferred lisp (Clojure) better, rather than trying to understand C/C++ better?
> Bonus points if you get to optimize tail recursion. (I didn't, but I didn't try to, so I don't consider it a failure.)
Is this as complicated as people put it? I've never implemented my own lisp, but MAL (https://github.com/kanaka/mal) makes it seem like a relatively easy step in the process.
[0] https://github.com/kanaka/mal/blob/master/process/guide.md#s...
https://sarabander.github.io/sicp/html/5_002e4.xhtml#g_t5_00...
(Scroll down a bit for links to the code)
or was that just me? ;)
Maybe, but I wager most people who work with computers didn't even go for a CS degree.