Skip to content

YARV visualizer #287

@kddnewton

Description

@kddnewton

We already have the ability to visualize the AST on ruby-syntax-tree.github.io. However it is relatively primitive (it just returns the text-based form of the AST). I'm a big fan of https://reaflow.dev/ and want to investigate using that for the tree visualization.

On top of that, it would be nice to visualize our CFG and DFG with ruby-syntax-tree.github.io.

Finally, it would be nice to visualize the actual execution. Since we have the ability to emulate YARV, we should do it in Ruby and visualize reads/writes on the stack, changes to stack and environment pointers, and tracepoint events. This would be both educational and (in my opinion) inspirational.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions