C# Compiler Simulator
source code · tokens · syntax tree · semantics · CIL · optimisation
SOURCE
→
LEXICAL
→
SYNTAX
→
SEMANTIC
→
CODE GEN
→
OPTIMISE
Example 1 · Sequence
Example 2 · Selection
Example 3 · Iteration
▶ COMPILE
► AUTO STEP
Source code
Edit the supported C# subset, compile, then inspect each stage
TEACHING MODEL
SOURCE CODE INPUT · C#
STAGE OUTPUT