Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

COUSINS OF THE COMPILER & COMPILER CONSTRUCTION

TOOLS – SCHEDULED FOR 11.12.07 6TH HOUR

Compiler Construction tools

1. Scanner generators

Generate lexical analyzer normally from a specification based on regular expressions

2. Parser generators

These produce syntax analyzers normally from input that is based on context free
grammar

3. Syntax directed translation engine

These produce collections of routines that walk through the parse tree to generate
intermediate code.

4. Data flow engines

Much of the information needed to perform good code optimization involves “data flow
analysis”, the gathering of information about how values are transmitted from one part of
the program to the other part.

5. Automatic code generator

It will translate each intermediate language statement into machine language statement of
the target machine.

Cousins of the compiler


Preprocessor
Assembler
Loader
Linker

You might also like