Test Flashcards

1
Q

What does a scanner generator do?

A

Creates lexical analyzers from regular expression descriptions of tokens

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a parser generator do?

A

Automatically produces syntax analyzers from a grammatical description of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the role of compiler construction tools?

A

To assist in implementing compiler phases, such as parser generators, compiler generators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is symbol-table management?

A

The process of recording variable names and attributes for use during compilation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly