Compiler
Compiler
Compiler
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
External Form<br />
• Could produce pre-fix representation<br />
• We will produce an infix representation<br />
that fully-parenthesizes source expression<br />
i.e., a pretty printer<br />
• We exploit AST visitor structure<br />
Implement pretty() function in each node<br />
<strong>Compiler</strong><br />
Abstract Syntax Trees 25