《用 Go 语言自制编译器》封面

用 Go 语言自制编译器

Writing A Compiler In Go

Thorsten Ball · 初版 2018 年

33人推荐
39位读者提及
42次提及

为什么值得读

  • 承接解释器前作手把手实现编译器重构
  • 深入语法分析与抽象语法树等核心环节
  • 实践导向让初学者真正上手掌握编译原理

Hacker News 上怎么说

  • ……与语言无关)* 《计算机系统要素:从零开始构建现代计算机》(The Elements of Computing Systems: Building a Modern Computer from First Principles)* 《机器学习编程:从编码到深度学习》(Programming Machine Learning: From Coding to Deep Learning)* 《用 Go 语言自制解释器》(Writing an Interpreter in Go)和《用 Go 语言自制编译器》(Writing a Compiler in Go)(两本出自同一作者)* 《通过 Lisp 探索区块链:用 Racket 语言实现与扩展区块链》(Introducing Blockchain with Lisp)* 《用 Logo 探索语言》(Exploring Language with Logo)* 《用 Logo 进行可视化建模》(Visual Modeling with Logo)* 《海龟几何》(Turtle Geometry)……

    …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 with Logo * Turtle Geometry:…

  • 我在用手机打字,不过推荐三本书/资源:1. 《Crafting Interpreters》。HN 上有很多关于它的讨论,而且最近刚完结。2. 《Writing a Compiler in Go》。Thorsten Ball 还有一本配对的解释器书也非常顺手。3. 《Build Your Own Lisp》。当然还有很多传统教材,比如龙书。我没……

    I’m on mobile, but three recommendations for books/resources are: 1. Crafting interpreters. There’s plenty of hn discussion on it and it was recently completed. 2. Writing a compiler in go. There’s also a book on interpreters that goes along handily with it from Thorsten ball as well. 3. Build your own lisp There’s also plenty of traditional textbooks such as the dragon book. I don’t…

  • Thorsten Ball 的两部曲《用 Go 语言自制解释器》/《用 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 in part two refactors the whole…

  • Thorsten Ball 写的《用 Go 语言自制解释器》以及续作《用 Go 语言自制编译器》都是极棒的读物。另外 Bob 写的《游戏编程模式》(Game Programming Patterns)我也很喜欢,不过前面已经有人提过了。

    Writing an Interpreter in Go and it's sequel Writing a Compiler in Go by Thorstan Ball are both excellent reads. Also enjoyed Game programming patterns by Bob again, but that has already been mentioned.

  • 我也推荐 Thorsten Ball 写的《用 Go 语言自制解释器》(Writing An Interpreter In Go)[1],以及它的姊妹篇《用 Go 语言自制编译器》(Writing A Compiler In Go)。[1] https://interpreterbook.com/

    I'd also recommend Writing An Interpreter In Go [1] by Thorsten Ball, and its companion, Writing A Compiler In Go. [1] https://interpreterbook.com/

  • 我读过《用 Go 语言自制解释器》和《用 Go 语言自制编译器》。《Crafting Interpreters》在我的书架上,也在我 Soon™(快了快了)要读完的书单里。Thorsten Ball 的这两本书在这一领域可以说是不可思议地亲民易懂。我最初就是通过它们学会了……

    I've read Writing an Interpreter in Go and Writing a Compiler in Go. Crafting Interpreters is on my bookshelf and on the list to get through Soon™. The latter books by Thorsten Ball are an incredibly approachable introduction to the topic. It's how I initially learned…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助