4 ms·
I can't help but think of this line from "The Joy of Clojure"... Go to any open source project hosting site, and perform a search for the term Lisp Interpreter
by cubano 6y ago
I can't help but think of this line from "The Joy of Clojure"...
Go to any open source project hosting site, and perform a search for the term Lisp Interpreter. You'll likely get a cyclopean mountain of results from this seemingly innocuous term.
- mumblemumble 6y agoLisp and Forth might be the only languages out there where writing a basic interpreter is a reasonable weekend project and a decent way to get your feet wet with some new language you want to learn.
- O_H_E 6y agoOk wow. Any few-weekends length resources you know about?
- mumblemumble 6y agohttps://github.com/kanaka/mal https://github.com/kanaka/mal
- shakna 6y agoThis is one of my favourites [0] that goes a lot further than most, but fits the timeframe. Error handling, macros, standard library all included. [0] http://www.buildyourownlisp.com/ http://www.buildyourownlisp.com/
- lmohseni 6y agoJonesforth is pretty amazing: https://github.com/nornagon/jonesforth/blob/master/jonesforth.S https://github.com/nornagon/jonesforth/blob/master/jonesfort...
- stevekemp 6y agoI actually hacked up a simple forth-like system, after reading a brief howto here on hackernews: https://github.com/skx/foth/ https://github.com/skx/foth/ Here's the thread which has the barebones overview which inspired me: https://news.ycombinator.com/item?id=13082825 https://news.ycombinator.com/item?id=13082825 I could have taken it further, but the implementation there is not "real" in the sense that there is no real return-stack, so you can't implement IF-statements using the lower-level primitives. That said it is a good starting point, and I had some fun doing it. I'd guesstimate it is more of a single weekend project though, rather than longer.