Compiler Design: Theory, Tools, and Examples, C/C++ Edition

Book image

Livro digital

Título:
Compiler Design: Theory, Tools, and Examples, C/C++ Edition

Autor:
Seth D. Bergmann

Categoria:
Tecnologia > Backend

Doador:
Raffaello D. N.

Sinopse:
Compiler Design: Theory, Tools, and Examples, C/C++ Edition follows the full arc of a compiler course, from Chapter 1’s introduction and Chapter 2’s lexical analysis through syntax analysis, top-down parsing, bottom-up parsing, code generation, and optimization. The table of contents makes the progression explicit, and the MiniC case study threads through the middle chapters, giving readers a concrete system to watch take shape section by section. Bergmann balances theory with implementation details, moving from formal languages, finite state machines, LL(1) grammars, attributed grammars, and LR parsing to practical tools such as Lex and Yacc. The book also drills into register allocation, single-pass versus multi-pass code generation, and the tradeoffs behind global and local optimization. Appendices extend the learning path with the MiniC grammar, compiler, and simulator. This is a course-oriented compiler text aimed at students who already know C or C++, data structures, and basic computer organization. Its main strength is the combination of step-by-step explanations, worked examples, and a complete teaching compiler, making it useful both as a classroom text and as a hands-on guide for readers who want to understand how a programming language is translated from source to machine code.

Livro digital disponível gratuitamente!
Clique no botão abaixo para receber este livro.
Seja o primeiro a receber este livro
Esse site salva cookies para uma melhor experiência de usuário. Saiba mais lendo nossaPolítica de Privacidade.