Ruby AST Tree Viewer
Visualize structured data as a tree
Parse and render
Ruby Input
class User attr_reader :name, :children def initialize(name, children = []) @name = name @children = children end end
Prism AST
parse.y AST
Render
Copy URL
Idle
Tree
Text
JSON
Expand All
Collapse All
Parsed output will appear here.
Copy
Text output will appear here.
Copy
JSON output will appear here.