Compiler
Compiler
Compiler
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
ANTLR Rule Rewriting<br />
• More powerfull and flexible than directives<br />
Supports new node types (imaginary tokens)<br />
compilationUnit :<br />
packageDefinition importDefinition* typeDefinition*<br />
-> ^(UNIT packageDefinition importDefinition* typeDefinition*)<br />
;<br />
<strong>Compiler</strong><br />
Abstract Syntax Trees 21