WACC Reference Compiler

Welcome to the online reference compiler for the 2nd year WACC lab.

Run the reference compiler on a '.wacc' file

Choose a file to upload.

Enter the input stream you would like to pass to the program.

Set your desired compiler options.

Parse-Only
Semantic-Check
View-AST
View-Assembly
Stack Implementation
Optimise

Execute

Compiler Output:

The compiler output will appear here...

Want to check the behaviour of your ARM code?
Try out the:

ARM Assembly Emulator

Think you've found a bug with the Reference Compiler?
Send an e-mail to mark.wheelhouse@ic.ac.uk and you could end up on the:

WACC Bug Hunters Page