3 ms·
I ran into “Make Your Own Lisp Interpreter in 10 Steps”[0] recently, and I’ve enjoyed walking through it. It works through a basic repl to macros, tail recursio
by garren 7y ago
I ran into “Make Your Own Lisp Interpreter in 10 Steps”[0] recently, and I’ve enjoyed walking through it. It works through a basic repl to macros, tail recursion, and finally self hosting! (I haven’t made it that far yet)
The guide [1] has been interesting to follow, and I appreciate the author’s approach to building a Lisp interpreter as a way to pick up a new language. For example, his interpreter, mal, has implementations in every thing from ada, nasm, and bash, to C, Ruby, rust, python and everything between.
Videos walking through the guide are available too [2], [3]
[0] https://github.com/kanaka/mal https://github.com/kanaka/mal
[1] https://github.com/kanaka/mal/blob/master/process/guide.md https://github.com/kanaka/mal/blob/master/process/guide.md
[2] https://www.youtube.com/watch?v=jVhupfthTEk https://www.youtube.com/watch?v=jVhupfthTEk
[3] https://www.youtube.com/watch?v=X5OQBMGpaTU https://www.youtube.com/watch?v=X5OQBMGpaTU