awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
fkling avatar

fkling/astexplorer

0
View on GitHub↗
6,538 stars·776 forks·JavaScript·MIT·10 viewsastexplorer.net↗

Astexplorer

AST Explorer is a web-based tool for parsing source code into abstract syntax trees and visualizing the resulting tree structure. It serves as a code inspector and transformation playground, allowing users to explore the structural representation of various programming languages through an interactive browser interface.

The tool provides a transformation environment where users can apply modification rules to parsed trees to test code modification logic. It features bidirectional mapping that highlights matching tree nodes and source text simultaneously as the cursor moves across the editor.

The platform supports importing code via file uploads or drag-and-drop interfaces and allows for the sharing of specific code states and parser configurations through state-encoded URLs.

Features

  • Abstract Syntax Tree Visualizers - A web-based tool for parsing source code into Abstract Syntax Trees and visualizing the resulting tree structure.
  • AST Visualization - Renders the structural components of an abstract syntax tree for interactive human inspection.
  • Transformation Playgrounds - Offers an interactive environment for applying transformation rules to parsed trees to test modification logic.
  • Transformation Prototyping - Allows users to apply transformation plugins to a parsed tree and immediately observe the resulting code changes.
  • Source Parsers - Converts source code into structured syntax trees while maintaining a link back to the original syntax.
  • AST Node Location Mapping - Maps abstract syntax tree nodes back to original character offsets for simultaneous highlighting.
  • AST-to-Source Mappings - Provides bidirectional highlighting between AST nodes and the corresponding source code snippets.
  • Structural Code Inspectors - Provides a browser interface for exploring the structural representation of programming languages through interactive trees.
  • Code Transformation Engines - Provides an environment to automate structural code modifications using rule-based transformations on syntax trees.
  • Parser Plugin Architectures - Features a modular architecture that allows dynamic loading of various language parsing libraries as plugins.
  • Syntax Tree Transformers - Provides a pipeline for applying modification functions to a syntax tree to rewrite the underlying code.
  • Compiler Logic Prototyping - Facilitates the refinement of code transformation logic by observing real-time effects on a parsed tree.
  • State-Encoded Sharing - Generates shareable URLs containing current code and parser configurations for collaboration.
  • Specification Debugging - Allows developers to verify how a specific language parser interprets code by mapping nodes back to source text.
  • URL State Serialization - Serializes current code and parser configurations into the URL to enable shareable state snapshots.
  • Event-Driven State Synchronizers - Implements a reactive synchronization mechanism that updates the AST view whenever the editor content changes.
  • Tree View Virtualizers - Uses a virtualized, collapsible tree view to efficiently render large abstract syntax trees.
  • AST & Language Tools - Web-based AST visualization tool.

Star history

Star history chart for fkling/astexplorerStar history chart for fkling/astexplorer

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Astexplorer

Similar open-source projects, ranked by how many features they share with Astexplorer.
  • rome/toolsrome avatar

    rome/tools

    23,417View on GitHub↗

    This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools for bundling, parsing, linting, and formatting source code. The toolchain is implemented in Rust and utilizes a shared internal representation to allow multiple tools to operate on the same parsed source code. It employs a parallelized analysis pipeline and single-pass parsing with error recovery to process files across CPU cores. The suite covers several core capability areas, including static analysis for identifying programmatic errors, automated style standardization, and

    Rustformatterjavascriptlinter
    View on GitHub↗23,417
  • estree/estreeestree avatar

    estree/estree

    5,421View on GitHub↗

    ESTree is a formal schema and set of object interfaces used to represent JavaScript source code as a standardized abstract syntax tree. It serves as a common tree format and parser standard to ensure interoperability between different JavaScript parsers and transformation tools. The specification provides a consistent way to model language constructs, including statements, expressions, and module declarations. It includes detailed representations for modern language features such as classes, private identifiers, and short-circuiting logic like nullish coalescing and optional chaining. The pr

    astestreejavascript
    View on GitHub↗5,421
  • dsherret/ts-morphdsherret avatar

    dsherret/ts-morph

    6,110View on GitHub↗

    ts-morph is a TypeScript AST manipulation library and a high-level wrapper for the TypeScript compiler API. It provides a programmatic interface for analyzing, modifying, and generating TypeScript source code, serving as a tool for automated code refactoring and source code generation. The library simplifies the process of navigating and inspecting project structures by offering an object-oriented abstraction over the underlying compiler API. It allows for the programmatic transformation of existing codebases to automate structural updates and bulk code migrations. Its capabilities cover sta

    TypeScript
    View on GitHub↗6,110
  • babel/babelbabel avatar

    babel/babel

    44,009View on GitHub↗

    Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into backwards-compatible versions of the language. It functions as an abstract syntax tree manipulator, parsing source code into a hierarchical structure to traverse and modify nodes for custom code transformations. The system utilizes a plugin-driven architecture to apply specific transformation rules and supports presets that bundle multiple plugins into named configuration groups. This enables the transformation of experimental syntax and the injection of non-global polyfills to ensure consisten

    TypeScriptastbabelcompiler
    View on GitHub↗44,009
See all 30 alternatives to Astexplorer→

Frequently asked questions

What does fkling/astexplorer do?

AST Explorer is a web-based tool for parsing source code into abstract syntax trees and visualizing the resulting tree structure. It serves as a code inspector and transformation playground, allowing users to explore the structural representation of various programming languages through an interactive browser interface.

What are the main features of fkling/astexplorer?

The main features of fkling/astexplorer are: Abstract Syntax Tree Visualizers, AST Visualization, Transformation Playgrounds, Transformation Prototyping, Source Parsers, AST Node Location Mapping, AST-to-Source Mappings, Structural Code Inspectors.

What are some open-source alternatives to fkling/astexplorer?

Open-source alternatives to fkling/astexplorer include: rome/tools — This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools… estree/estree — ESTree is a formal schema and set of object interfaces used to represent JavaScript source code as a standardized… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… dsherret/ts-morph — ts-morph is a TypeScript AST manipulation library and a high-level wrapper for the TypeScript compiler API. It… babel/babel — Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into… acornjs/acorn — Acorn is a JavaScript parser that converts source text into a structured abstract syntax tree. It follows the ESTree…