17.01.2015 Views

S - Intranet - Department of Computer Science: Login

S - Intranet - Department of Computer Science: Login

S - Intranet - Department of Computer Science: Login

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Steps to build a compiler with SableCC<br />

1. Create a SableCC<br />

specification file<br />

2. Call SableCC<br />

3. Create one or more<br />

working classes,<br />

possibly inherited<br />

from classes<br />

generated by<br />

SableCC<br />

4. Create a Main class<br />

activating lexer,<br />

parser and working<br />

classes<br />

5. Compile with Javac<br />

67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!