Recursive Descent Parser
Enter your code in the box below to see the results.
Source Code:
if (x > 1) then y = 20; else { z = 5; }
Generate Correct Example
Generate Wrong Example
Lexer Output (Tokens)
Parser Output