《Writing an interpreter in Go》https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ball/... 挺不错的。这本书默认你已经会 Go 语言了,而且最后做出来的解释器并不是 Lisp 解释器。
Writing an interpreter in Go 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.
……Tracer Challenge,但没那么通用于各种语言)*《计算机系统要素:从零开始构建现代计算机》(The Elements of Computing Systems: Building a Modern Computer from First Principles)*《机器学习编程:从代码到深度学习》(Programming Machine Learning: From Coding to Deep Learning)*《Writing an Interpreter in Go》和《Writing a Compiler in Go》(两本是同一个作者)*《Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language》*《Exploring Language with Logo》*《Visual Modeling……
…Tracer Challenge but is not as language agnostic) * The Elements of Computing Systems: Building a Modern Computer from First Principles * Programming Machine Learning: From Coding to Deep Learning * Writing an Interpreter in Go and Writing a Compiler in Go (both by the same author) * Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language * Exploring Language with Logo * Visual Modeling…
……小众、精巧、现代或新出的语言里,有哪些是你哪怕不用在生产环境也乐意拿来玩玩的?(顺便提一句,虽不直接相关,但如果你对写一门语言感兴趣,我强烈推荐 Thorsten Ball 的《Writing an interpreter in Go》这本书。我跟着敲代码玩得特别开心,我自己写的 monkey 解释器版本后来变得相当高级了 https://github.com/skx/monkey/,它还促使我后来写了一个简单的 BASIC……
…niche, small, modern, or new languages you enjoy experimenting with, even if not used in production? (Not directly related, but if you do have an interest in writing a language I'd highly recommend the "Writing an interpreter in Go" book, by Thorsten Ball. I had fun working through the code, and my own version of the monkey interpreter became pretty advanced https://github.com/skx/monkey/ it also lead to me writing a simple BASIC…
Thorsten Ball 的《Writing an Interpreter in Go》对如何构建 Pratt parser 做了非常深入的讲解。作为读物/教程都极好。可能只是我的错觉,但最近感觉冒出来好多关于语言设计的东西,比如 Bob Nystrom 也……
Thorsten Ball’s “Writing an Interpreter in Go” has a very in-depth walkthrough of building a Pratt parser. It’s a very good read/tutorial. Maybe it’s just me but it seems there’s a lot of language design coming out recently. E.g. Bob Nystrom has…
Thorsten Ball 的两部曲《Writing an Interpreter in Go》和《Writing a Compiler in Go》,算是我真正入门练手的东西。它非常直截了当地带你过一遍词法语法分析、AST、基础的 tree-walk 解释器,然后……
Writing an Interpreter in Go / Writing a Compiler in Go, the two part series by Thorsten Ball, was what I really cut my teeth on. It straightforwardly takes you through some parsing, ASTs, a basic tree-walk interpreter, and then…
……一些非常有帮助的资源包括 YouTube 上的 CMU 数据库课程,以及 Alex Petrov 的《Database Internals》(我只是按需读了部分)。另外,Thorsten Ball 的《Writing an Interpreter in Go》在写 SQL 解析器时非常有用。
…up. Some of the resources which were very helpful were the CMU database course on youtube and the book called "database internals" by Alex Petrov (I just read parts of it as required). Also the book Writing an interpreter in Go by Thorsten Ball was very useful when writing the sql parser.
《Writing an interpreter in Go》https://www.amazon.com/Writing-Interpreter-Go-Thorsten-Ball/... 挺不错的。这本书默认你已经会 Go 语言了,而且最后做出来的解释器并不是 Lisp 解释器。
Writing an interpreter in Go 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.
……Tracer Challenge,但没那么通用于各种语言)*《计算机系统要素:从零开始构建现代计算机》(The Elements of Computing Systems: Building a Modern Computer from First Principles)*《机器学习编程:从代码到深度学习》(Programming Machine Learning: From Coding to Deep Learning)*《Writing an Interpreter in Go》和《Writing a Compiler in Go》(两本是同一个作者)*《Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language》*《Exploring Language with Logo》*《Visual Modeling……
…Tracer Challenge but is not as language agnostic) * The Elements of Computing Systems: Building a Modern Computer from First Principles * Programming Machine Learning: From Coding to Deep Learning * Writing an Interpreter in Go and Writing a Compiler in Go (both by the same author) * Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language * Exploring Language with Logo * Visual Modeling…
……小众、精巧、现代或新出的语言里,有哪些是你哪怕不用在生产环境也乐意拿来玩玩的?(顺便提一句,虽不直接相关,但如果你对写一门语言感兴趣,我强烈推荐 Thorsten Ball 的《Writing an interpreter in Go》这本书。我跟着敲代码玩得特别开心,我自己写的 monkey 解释器版本后来变得相当高级了 https://github.com/skx/monkey/,它还促使我后来写了一个简单的 BASIC……
…niche, small, modern, or new languages you enjoy experimenting with, even if not used in production? (Not directly related, but if you do have an interest in writing a language I'd highly recommend the "Writing an interpreter in Go" book, by Thorsten Ball. I had fun working through the code, and my own version of the monkey interpreter became pretty advanced https://github.com/skx/monkey/ it also lead to me writing a simple BASIC…
Thorsten Ball 的《Writing an Interpreter in Go》对如何构建 Pratt parser 做了非常深入的讲解。作为读物/教程都极好。可能只是我的错觉,但最近感觉冒出来好多关于语言设计的东西,比如 Bob Nystrom 也……
Thorsten Ball’s “Writing an Interpreter in Go” has a very in-depth walkthrough of building a Pratt parser. It’s a very good read/tutorial. Maybe it’s just me but it seems there’s a lot of language design coming out recently. E.g. Bob Nystrom has…
Thorsten Ball 的两部曲《Writing an Interpreter in Go》和《Writing a Compiler in Go》,算是我真正入门练手的东西。它非常直截了当地带你过一遍词法语法分析、AST、基础的 tree-walk 解释器,然后……
Writing an Interpreter in Go / Writing a Compiler in Go, the two part series by Thorsten Ball, was what I really cut my teeth on. It straightforwardly takes you through some parsing, ASTs, a basic tree-walk interpreter, and then…
……一些非常有帮助的资源包括 YouTube 上的 CMU 数据库课程,以及 Alex Petrov 的《Database Internals》(我只是按需读了部分)。另外,Thorsten Ball 的《Writing an Interpreter in Go》在写 SQL 解析器时非常有用。
…up. Some of the resources which were very helpful were the CMU database course on youtube and the book called "database internals" by Alex Petrov (I just read parts of it as required). Also the book Writing an interpreter in Go by Thorsten Ball was very useful when writing the sql parser.