Skip to content
A2 §16.2 Translation software

ZAK's Compiler Lab

Paper 3 asks the same four things every year: convert to Reverse Polish, evaluate it with a stack, write or read BNF, and describe what each compilation stage produces. Every one of them is here to do, with the stack drawn at each step and the derivation shown for every string you test. Runs on the same ideas as the Playground's own lexer and parser.

Loading the lab…
Enroll nowOnline classes