Vizpiler

An interactive visual tutorial on lexing/parsing in compilers

Credits to: EPaperPress and Andrew Appel's Modern Compiler Implementation in C for the tutorial text and much of the lex/yacc code. Also thanks to the developers of Reflex for allowing the lexical analysis stepper.


Enter the flex code you want to visualize and then compile it!


Enter the C code to generate your DOT graph and then compile it!


Enter the yacc code you want to visualize and then compile it!
Input your test code here:

Input your test code here:

Input your test code here: