1.

Record Nr.

UNINA9910437602603321

Autore

Wilhelm Reinhard

Titolo

Compiler Design : Syntactic and Semantic Analysis / / by Reinhard Wilhelm, Helmut Seidl, Sebastian Hack

Pubbl/distr/stampa

Berlin, Heidelberg : , : Springer Berlin Heidelberg : , : Imprint : Springer, , 2013

ISBN

3-642-17540-6

Edizione

[1st ed. 2013.]

Descrizione fisica

1 online resource (232 p.)

Disciplina

005.453

Soggetti

Computer programming

Programming languages (Electronic computers)

Programming Techniques

Programming Languages, Compilers, Interpreters

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Description based upon print version of record.

Nota di contenuto

Introduction -- Lexical Analysis -- Syntactic Analysis -- Semantic Analysis -- References -- Index.

Sommario/riassunto

While compilers for high-level programming languages are large complex software systems, they have particular characteristics that differentiate them from other software systems. Their functionality is almost completely well-defined – ideally there exist complete precise descriptions of the source and target languages. Additional descriptions of the interfaces to the operating system, programming system and programming environment, and to other compilers and libraries are often available. This book deals with the analysis phase of translators for programming languages. It describes lexical, syntactic and semantic analysis, specification mechanisms for these tasks from the theory of formal languages, and methods for automatic generation based on the theory of automata. The authors present a conceptual translation structure, i.e., a division into a set of modules, which transform an input program into a sequence of steps in a machine program, and they then describe the interfaces between the modules. Finally, the structures of real translators are outlined. The book contains the necessary theory and advice for implementation. This book is intended for students of computer science. The book is



supported throughout with examples, exercises and program fragments.    .