Test Flashcards
1
Q
What does a scanner generator do?
A
Creates lexical analyzers from regular expression descriptions of tokens
2
Q
What does a parser generator do?
A
Automatically produces syntax analyzers from a grammatical description of a program
3
Q
What is the role of compiler construction tools?
A
To assist in implementing compiler phases, such as parser generators, compiler generators.
4
Q
What is a compiler pass?
A
A grouping of phases that reads an input file and generates an output file, such as front end…
5
Q
What is symbol-table management?
A
The process of recording variable names and attributes for use during compilation.