Part III. Developers Guide

Table of Contents

8. Architecture of Cetus
Front End
Integrated Parsers
Separate Parsers
Handling Pragmas and Comments
Intermediate Representation
Class Hierarchy Design
Major Classes
Relationship Between Grammar and IR
Syntax Tree Invariants
Annotations
Back End
9. Writing a Pass
Making Cetus Execute Your Pass
Iterators
Tools
Expression Simplifier
Modifying IR
Printing