《手写解释器》封面

手写解释器

Crafting Interpreters

Robert Nystrom · 初版 2021 年

296人推荐
397位读者提及
520次提及

为什么值得读

  • 包含实现字节码虚拟机的完整实战内容
  • 阅读中充满恍然大悟的顿悟解惑体验
  • 比起传统龙书等编译教材更加友好易懂

Hacker News 上怎么说

  • …是如何运作的”。为了回答这个问题我读了好多书,最后留下了三本神作:- Charles Petzold 的《CODE》讲透了 CPU - Arpaci-Dusseau 的《Operating Systems: Three Easy Pieces》讲透了操作系统 - Robert Nystrom 的《Crafting Interpreters》讲透了编程语言。写得真是绝了。

    …work". I read many a book to answer this question, and came away with three books: - CODE by Charles Petzold explains the CPU - Operating Systems: Three Easy Pieces by Arpaci-Dusseau explain OSes - Crafting Interpreters by Robert Nystrom explains programming languages Masterfully done.

  • 截至 2020 年 5 月的主要更新:计算机体系结构:新增《Computer Systems: A Programmer's Perspective》作为首推,替代 nand2tetris。编译器:新增《Crafting Interpreters》作为首推,替代龙书(dragon book)。分布式系统:新增《Designing Data-Intensive Applications》作为首推,替代《Distributed Systems》。部分视频课程的在线可用性…

    Main updates as of May 2020: Computer Architecture: added Computer Systems: A Programmer's Perspective as first recommendation over nand2tetris. Compilers: Crafting Interpreters added as first recommendation over dragon book. Distributed Systems: added Designing Data-Intensive Applications as first recommendation over Distributed Systems. Online availability of some video lectures…

  • …看到有人在捣鼓语言设计真棒!我也在用 wheel-lang [0] 做类似的事,一开始它基本上是纯命令式的,但现在开始加入一些面向对象特性了。Nystrom 的《Crafting Interpreters》是个极好的资源;我还挺喜欢《Compiling to Assembly From Scratch》[1] 和《Write You a Haskell》[2]。[0] https://github.com/DylanSp/wheel-lang/ [1] https://keleshev.com/compiling-to-assembly-from-scratch/…

    …to see people experimenting with languages! I'm doing a similar thing with wheel-lang [0], which started as pretty purely imperative, but is starting to grow some object-oriented features. Nystrom's Crafting Interpreters is a great resource; I've also liked Compiling to Assembly From Scratch [1] and Write You a Haskell [2]. [0] https://github.com/DylanSp/wheel-lang/ [1] https://keleshev.com/compiling-to-assembly-from-scratch/…

  • 读读 Bob Nystrom 的《Crafting Interpreters》(网上免费看)。它一步一步教你怎么写编译器/解释器,非常通俗易懂但绝不敷衍弱智。

    Read 'Crafting Interpreters' by Bob Nystrom (free online). It teaches step by step how to write a compiler/interpreter, very approachable without dumbing down.

  • Robert Nystrom 写的《Crafting Interpreters》

    Crafting Interpreters by Robert Nystrom

  • 我从你最近的邮件里看到,这本书会比《白鲸》(Moby Dick)还长。我从一开始就一直在跟进你的进度,真的很感谢你做的工作。我开始构建自己的语言时,《Crafting Interpreters》对我帮助很大。

    I saw from your most recent email that this book will be longer than Moby Dick. I've been following your progress since the beginning and I really appreciate the work you've done. Crafting Interpreters was really helpful for me when I began building my own language.

正在加载完整评论……

键盘快捷键

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