Paste or drop code into the editor and inspect the generated AST.
The AST explorer provides following code parsers:
Depending on the parser settings, it not only supports ES5/CSS3 but also
Since future syntax is supported, the JavaScript AST explorer is a useful tool for developers who want to create AST transforms.
In fact, following transformers are included so you can prototype your own plugins:


$node in the console to refer to the last opened/toggled AST
node.I'm happy about any feedback, feature request or PR to make this tool as useful as possible!
yarn add theParser (or npm install -S theParser)src/parsers/{language}.loadParser).parse.nodeToRange method (this is for highlighting).getNodeName method (this is for quick look through the tree).opensByDefault method for auto-expansion of specific properties._ignoredProperties set or implement forEachProperty generator method for filtering.renderSettings method if applicable.src/parsers/{language}/transformers.defaultParserID.loadTransformer).transform.codeExample.txt.git submodule update --init to initialize / update all submodules.yarn install (you can run npm install as
well).Run yarn run build for the final minimized version.
Run yarn run watch for incremental builds.
Run yarn start to start a simple static webserver.
$ claude mcp add astexplorer \
-- python -m otcore.mcp_server <graph>