WACC: Reference Compiler

Welcome to the WACC Online Reference Compiler.

This page serves as an interactive interface to the reference compiler for the 2nd Year WACC project.
You can use it to test the expected behaviour of your compiler on any example WACC program.

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...

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

WACC Bug Hunters Page

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

ARM Assembly Emulator