真实讨论 · 值得阅读English

Modern Compiler Design

了解 David Galles 的《Modern Compiler Design》(Modern Compiler Design):2007-02-22–2026-11-01 的 Hacker News 数据中有 2 次提及、2 位讨论者。阅读原文摘录、比较不同观点,将它加入你的书单。

THE HACKERBOOKS LIBRARY
Modern Compiler Design
David Galles
编程与技术

Modern Compiler Design

2 次提及 · 2 位讨论者 · 1 位推荐者

图书版本信息

社区里的声音

最近 2 条来源记录

提及不等于推荐。标签来自源数据的自动分类;请打开原始讨论核对上下文。

Ffusiongyro
普通提及

此记录保留了作者、时间和来源链接,请打开 HN 阅读完整上下文。

在 Hacker News 阅读原文
Pplinkplonk
推荐 · 来源标签

…earning there. Once you've done this, you can write a basic interpreter/compiler for languages with s-expression syntax . [The semantics can be anything you imagine] (2) Essentials of Programming Languages. This will teach you how many language features work (lazy evaluation, object systems, static type systems ..) (3) Lisp in Small Pieces - how to implement byte code compilers, macro systems, compilation to C, lots of good stuff here. (4) A book on lexing and parsing so you can give your language any syntax you want. I prefer Modern Compiler Design by Gries. If you understand the first three chapters you can write your own lex/yacc equivalents. (the book has a lot more to it than these chapters, but it is the best I've seen on lexing/parsing). (5) Now take a look at the source of your favorite language. ((Lua and the lcc compiler (it eve…

在 Hacker News 阅读原文