Paste or drop code into the editor and inspect the generated AST. Depending on the parser settings, it not only supports ES5/CSS3. Since the future syntax is supported, the AST explorer is a useful tool for developers who want to create AST transforms. In fact, transformers are included so you can prototype your own plugins. Save and fork code snippets. Copy the URL to share them. Copying an AST or dropping a file containing an AST into the window will parse the AST and update the code using escodegen. Otherwise, the content of the text editor will be replaced with the content of the file (i.e. you can drag and drop JS files). Choose between multiple parsers and configure them. shift+click on a node expands the full subtree. Hovering over a node highlights the corresponding text in the source code. Editing the source or moving the cursor around will automatically highlight the corresponding AST node (or its ancestors of it isn't expanded).

Features

  • Save and fork code snippets, copy the URL to share them
  • Copying an AST or dropping a file containing an AST into the window will parse the AST and update the code using escodegen
  • Otherwise, the content of text editor will be replaced with the content of the file (i.e. you can drag and drop JS files)
  • Choose between multiple parsers and configure them
  • shift+click on a node expands the full subtree
  • Hovering over a node highlights the corresponding text in the source code

Project Samples

Project Activity

See All Activity >

Categories

Web Services

License

MIT License

Follow AST explorer

AST explorer Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AST explorer!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Web Services Software

Registered

2022-04-07