Skip to main content

Posts

Showing posts with the label Compiler Design Tools

Compiler-Construction Tools

Some commonly used compiler-construction tools include: Parser generators that automatically produce syntax analyzers from a grammatical description of a programming language.  Scanner generators that produce lexical analyzers from a regular-expression description of the tokens of a language.  Syntax-directed translation engines that produce collections of routines for walking a parse tree and generating intermediate code.  Code-generator generators that produce a code generator from a collection of rules for translating each operation of the intermediate language into the machine language for a target machine.  Data-flow analysis engines that facilitate the gathering of information about how values are transmitted from one part of a program to each other part. Data-flow analysis is a key part of code optimization.  Compiler-construction toolkits that provide an integrated set of routines for constructing various phases of a compiler