Skip to content

AdorableRedPanda/ast-visualization

Repository files navigation

AST Visualizer for JS

Paste or type code into the editor and inspect the visualization of generated AST - AST Visualizer.

Supports JavaScript (JS), TypeScript (TS), and JSX; requires web workers to be available in the browser.

Built with Babel, vis.js, CodeMirror and Vite. Inspired by AST Explorer.

TODO:

  • fix highlighting positions
  • lazy graph rendering
  • nodes/edges inspection