S - Intranet - Department of Computer Science: Login
S - Intranet - Department of Computer Science: Login
S - Intranet - Department of Computer Science: Login
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
SableCC<br />
• Object Oriented compiler framework written in Java<br />
– There are also versions for C++ and C#<br />
• Front-end compiler compiler like JavaCC and<br />
JLex/CUP<br />
• Lexer generator based on DFA<br />
• Parser generator based on LALR(1)<br />
• Object oriented framework generator:<br />
– Strictly typed Abstract Syntax Tree<br />
– Tree-walker classes<br />
– Uses inheritance to implement actions<br />
– Provides visitors for user manipulation <strong>of</strong> AST<br />
• E.g. type checking and code generation<br />
66