Pascal Grammar Visualizer

Parses Pascal source code using the Pascal grammar written with PetitParser, producing a formatted, strongly-typed Abstract Syntax Tree (AST).

Presets

Input Source Code

Abstract Syntax Tree

Ready.
Click "Parse & Visualize" to inspect the AST.