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.
A SableCC Grammar with transformations<br />
Followed by the Abstract Syntax Tree definition:<br />
Abstract Syntax Tree<br />
grammar = exp* ;<br />
exp = {plus} [l]:exp [r]:exp<br />
| {minus} [l]:exp [r]:exp<br />
| {div} [l]:exp [r]:exp<br />
| {mult} [l]:exp [r]:exp<br />
| {number} number<br />
;<br />
75