Title Details: | |
Handbook on Compiler Design and Development |
|
Authors: |
Manis, George |
Subject: | MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > PROGRAMMING LANGUAGES > LANGUAGE TRANSLATION AND EXECUTION MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > PROGRAMMING LANGUAGES > SYNTAX ANALYSIS MATHEMATICS AND COMPUTER SCIENCE > COMPUTER SCIENCE > PROGRAMMING LANGUAGES > CODE GENERATION |
Keywords: |
Compiler
Lexical analysis Syntax analysis Intermediate code generation Symbol table Final code generation Code optimization |
Description: | |
Abstract: |
The purpose of the book is the introduction of the reader to the compiler construction technology. The book reinforces the acquirement of knowledge through the development experience. Contrary to other books, which are available in Greek and mostly focus on theoretical background, in this book the theoretical background is the vehicle and the development is the motivation and the guide. The structure of this book follows the phases of the compiler construction development. These phases are: lexical analysis, syntax analysis, intermediate code generation, symbol table construction and final code generation. Chapters for each phase, as well as chapters for formal grammars, code optimization and compiler development tools are incorporated. An educational programming language is defined, for which a fully functional compiler is implemented, which generates machine code starting from a source program. This educational programming language resembles to the C programming language. It is simpler than C, both in programming and data structures. Despite its limited programming capabilities, it supports most familiar programming structures, like "while" and "if-else", as well as some custom ones, the compilation of which is of special interest. It also supports functions and procedures, passing parameters by value and by reference, recursive functions and nesting functions of procedure.
|
Linguistic Editors: |
Chioti, Alexandra |
Technical Editors: |
Manis, George |
Graphic Editors: |
Manis, George |
Type: |
Undergraduate textbook |
Creation Date: | 10-11-2023 |
Item Details: | |
ISBN |
978-618-228-141-3 |
License: |
Attribution - NonCommercial - ShareAlike 4.0 International (CC BY-NC-SA 4.0) |
DOI | http://dx.doi.org/10.57713/kallipos-372 |
Handle | http://hdl.handle.net/11419/11371 |
Bibliographic Reference: | Manis, G. (2023). Handbook on Compiler Design and Development [Undergraduate textbook]. Kallipos, Open Academic Editions. https://dx.doi.org/10.57713/kallipos-372 |
Language: |
Greek |
Consists of: |
1. Formal grammars in compiler technology 2. LL(1) grammars and syntax analysis 3. The C-imple Programming Language 4. Lexical analyzer 5. Syntax analyzer 6. Intermediate code generation 7. Intermediate code for structures of the language, functions and procedures 8. Symbol table 9. Final code generation 10. Parameter passing, function and procedure calls in final code generation 11. Code optimization 12. Tools for the compiler development |
Number of pages |
302 |
Publication Origin: |
Kallipos, Open Academic Editions |
You can also view | |
User comments | |
There are no published comments available! | |