
Livro digital
Título:
Compiler Design: Theory, Tools, and Examples, Java Edition
Autor:
Seth D. Bergmann
Categoria:
Tecnologia > Backend
Doador:
Raffaello D. N.
Sinopse:
Compiler design can feel abstract until the moving parts are laid out in order, and this book does exactly that. Its table of contents starts with the core pipeline, from “What is a Compiler?” and the phases of a compiler, then moves into lexical analysis, syntax analysis, and top down parsing before expanding into bottom up parsing and code generation.
The structure shows a strong teaching arc: formal languages and finite state machines lead into regular expressions and lexical tables, then into grammars, pushdown machines, LL(1) parsing, syntax-directed translation, attributed grammars, and the Decaf case studies. It is not just theory on its own, either, because the index repeatedly ties the concepts to SableCC, recursive descent, LR parsing, arrays, register allocation, and a mini architecture for code generation.
The result is a practical compiler-construction text that balances formal foundations with implementation detail. Readers get a clear path from scanning and parsing to translation and machine-level output, with examples that connect abstract grammar work to real compiler components. It suits readers who want to understand how language tools are built, not just what the terms mean.