Real conversations. Worthwhile reads.中文

Modern Compiler Design

Explore Modern Compiler Design by David Galles: 2 Hacker News mentions from 2 participants in 2007-02-22–2026-11-01. Read original excerpts, compare opinions and save this book.

THE HACKERBOOKS LIBRARY
Modern Compiler Design
David Galles
Programming

Modern Compiler Design

2 mentions · 2 participants · 1 recommenders

Book edition

From the conversation

Latest 2 source records

A mention is not an endorsement. Labels are automatically classified by the source. Follow the original discussion to verify the context.

Ffusiongyro
Mention

This record preserves its author, date and source link. Open HN to read the full context.

Read on Hacker News
Pplinkplonk
Recommendation · source label

…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…

Read on Hacker News