
Compiler configuration
Description
Book Introduction
This textbook covers all the theories and methods for effectively configuring a compiler.
The compiler's function can be divided into six logical stages: lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization, and object code generation.
This textbook follows these logical steps and describes them.
Following the explanation of the basic concepts in Chapter 1, Chapter 2 covers each logical step in detail and provides a detailed study of the various techniques and theories used in these steps.
All compiler construction theories and methods described in this textbook are explained with examples.
Students will understand more easily and clearly through related examples.
During the lecture, if there were many questions or students found the content difficult, I would explain the concept again or add supplementary explanations.
Additionally, many concepts are visualized in pictures to aid understanding.
Based on the theory introduced in the textbook, software has been developed these days to help easily configure compilers.
Representative lexical analyzer and syntax analyzer generator software such as LEX and YACC were introduced.
All of these can be practiced on a PC, and by doing these exercises, you will be able to acquire the ability to create a compiler.
The compiler's function can be divided into six logical stages: lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization, and object code generation.
This textbook follows these logical steps and describes them.
Following the explanation of the basic concepts in Chapter 1, Chapter 2 covers each logical step in detail and provides a detailed study of the various techniques and theories used in these steps.
All compiler construction theories and methods described in this textbook are explained with examples.
Students will understand more easily and clearly through related examples.
During the lecture, if there were many questions or students found the content difficult, I would explain the concept again or add supplementary explanations.
Additionally, many concepts are visualized in pictures to aid understanding.
Based on the theory introduced in the textbook, software has been developed these days to help easily configure compilers.
Representative lexical analyzer and syntax analyzer generator software such as LEX and YACC were introduced.
All of these can be practiced on a PC, and by doing these exercises, you will be able to acquire the ability to create a compiler.
index
Chapter 1: Compiler Overview
1.1.
The need for a compiler
1.2.
Compilers and interpreters
1.3.
Logical structure of the compiler
1.4.
Physical structure of the compiler
1.5.
Example of a simple compiler
Chapter 2 Formal Languages and Automata
2.1.
Foundations of Formal Language
2.2.
Formal grammar
2.3.
Grammar notation
2.4.
Regular languages and finite automata
Chapter 3: Lexical Analysis
3.1.
What is lexical analysis?
3.2.
Design of a lexical analyzer
3.3.
Considerations in implementing a lexical analyzer
3.4.
LEX, a lexical analyzer generator
3.5.
Flex
Chapter 4: Context-Free Language and Grammar Efficiency
4.1.
Context-Free Language and Pushdown Automata
4.2.
Induction tree
4.3.
ambiguity
4.4.
Removal of unnecessary production rules
4.5.
Removal of ε-production rule
4.6.
Removal of a single production rule
4.7.
Backtracking and Left?factoring
4.8.
Removal of Left?recursion
4.9.
Pushdown automata
Chapter 5 Syntactic Analysis
5.1.
Types of syntax analysis
5.2.
Bottom?up parsing
5.3.
Top-down parsing
5.4. YACC
5.5.
Bison
Chapter 6 Semantic Analysis and Symbol Tables
6.1.
Semantic Analysis Overview
6.2.
Symbols
6.3.
Composition of symbol table
6.4.
Constant definition and semantic analysis
Chapter 7 Intermediate Language and Intermediate Code Generation
7.1.
The concept and types of interlanguage
7.2.
Syntactic conversion
7.3.
Generate intermediate code
Chapter 8 Code Optimization
8.1.
The concept of code optimization
8.2.
Optimization to shorten execution time
8.3.
Optimization of required memory capacity
8.4.
Implementation of optimization
Chapter 9 Object Code Generation
9.1.
Overview of Object Code Generation
9.2.
Generating object code for arithmetic expressions
9.3.
Generating the object code of a logical expression
1.1.
The need for a compiler
1.2.
Compilers and interpreters
1.3.
Logical structure of the compiler
1.4.
Physical structure of the compiler
1.5.
Example of a simple compiler
Chapter 2 Formal Languages and Automata
2.1.
Foundations of Formal Language
2.2.
Formal grammar
2.3.
Grammar notation
2.4.
Regular languages and finite automata
Chapter 3: Lexical Analysis
3.1.
What is lexical analysis?
3.2.
Design of a lexical analyzer
3.3.
Considerations in implementing a lexical analyzer
3.4.
LEX, a lexical analyzer generator
3.5.
Flex
Chapter 4: Context-Free Language and Grammar Efficiency
4.1.
Context-Free Language and Pushdown Automata
4.2.
Induction tree
4.3.
ambiguity
4.4.
Removal of unnecessary production rules
4.5.
Removal of ε-production rule
4.6.
Removal of a single production rule
4.7.
Backtracking and Left?factoring
4.8.
Removal of Left?recursion
4.9.
Pushdown automata
Chapter 5 Syntactic Analysis
5.1.
Types of syntax analysis
5.2.
Bottom?up parsing
5.3.
Top-down parsing
5.4. YACC
5.5.
Bison
Chapter 6 Semantic Analysis and Symbol Tables
6.1.
Semantic Analysis Overview
6.2.
Symbols
6.3.
Composition of symbol table
6.4.
Constant definition and semantic analysis
Chapter 7 Intermediate Language and Intermediate Code Generation
7.1.
The concept and types of interlanguage
7.2.
Syntactic conversion
7.3.
Generate intermediate code
Chapter 8 Code Optimization
8.1.
The concept of code optimization
8.2.
Optimization to shorten execution time
8.3.
Optimization of required memory capacity
8.4.
Implementation of optimization
Chapter 9 Object Code Generation
9.1.
Overview of Object Code Generation
9.2.
Generating object code for arithmetic expressions
9.3.
Generating the object code of a logical expression
GOODS SPECIFICS
- Date of issue: July 25, 2023
- Page count, weight, size: 384 pages | 176*248*30mm
- ISBN13: 9788920046186
- ISBN10: 8920046182
You may also like
카테고리
korean
korean