← Back to library
Viewport capture · opening screen Assembled in your browser. No API key or AI request needed. Changing the fields refreshes the preview.
AST Explorer — Code explorer
Editors & ToolsSee it liveastexplorer.net
A code sample and its parsed syntax tree sit side by side, connecting source text to structured output.

Why this pattern works
A code sample and its parsed syntax tree sit side by side, connecting source text to structured output.
Design notes
- Surface
- AST Explorer — Code explorer
- Navigation
- Two equal code panels with parser selectors in the top toolbar.
- Layout
- Two equal code panels with parser selectors in the top toolbar.
- Density
- Compact supporting controls preserve space for the primary content.
- Color
- White and pale gray with syntax colors
- Type
- Small utility labels with monospaced text where code or structured data is visible.
- Pattern
- A code sample and its parsed syntax tree sit side by side, connecting source text to structured output.
- States
- Public example or template in its captured initial state; visible sample data is demonstration content.
- Don't
- Use the structure as a reference, with your own content and identity. This still does not establish the behavior of controls or unseen states.
Make it your own
Turn this reference into a useful brief for your project. Copy it into the AI tool you already use.