4 ms·
Writing an interpreter in Go https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ball/dp/300055808X https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ba
by AlexeyBrin 8y ago
Writing an interpreter in Go https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ball/dp/300055808X https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ball/... is pretty good. The book assumes that you know Go and the resulting interpreter is not a Lisp.
- UncleEntity 8y agoI've been thumbing through that every so often (as is, presumably, the person who stole the package off my doorstep the first time they shipped it) and it's easy enough to follow without having ever written a single line in go. Though I would suggest reading other sources on how pratt parsers work if you want to fully understand the pure simple genius behind them.
- stevekemp 8y agoI had fun extending the sample language to add new features https://github.com/skx/monkey/ https://github.com/skx/monkey/ though so far I've still not read the book.