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 Only
Full Compilation
Target Architecture:
aarch64 (armv8-a)
arm32 (armv6)
x86_64 (Intel Syntax)
x86_64 (AT&T Syntax)
Optimise (ARM Peephole)
View Assembly Code
Execute Assembly Code

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 Assembly code?
Try out the:

WACC Assembly Emulator