Skip to content

Add ember#263

Draft
NullVoxPopuli wants to merge 5 commits intosxzz:mainfrom
NullVoxPopuli:nvp/add-ember
Draft

Add ember#263
NullVoxPopuli wants to merge 5 commits intosxzz:mainfrom
NullVoxPopuli:nvp/add-ember

Conversation

@NullVoxPopuli
Copy link
Copy Markdown

@NullVoxPopuli NullVoxPopuli commented Apr 30, 2026

  • This PR contains AI-generated code, but I have carefully reviewed it myself. Otherwise, my PR may be closed.
    • I understand that my PR is more likely to be rejected or requested for changes if it contains AI-generated code that I do not fully understand.

Description

Adds an ember parser, following the example of svelte and astro (since astro also has a wasm part of its parser)

Note

Currently, this is still in the "trying to" phase, because content-tag and oxc-parser are wasm-providing packages, and are dependencies of ember-estree, and it seems jsdeliver is breakin on this somehow?

My debugging journey: https://discord.com/channels/480462759797063690/717767358743183412/1499455777151123588

(in the ember discord server, https://discord.gg/emberjs)

Dependents before this ast-explorer PR can be ready for review:

Linked Issues

Additional context

Uses ember-estree, which is the ember-ecosystem's first combined AST (JS/TS + template) library -- it is fairly recent, but it's something that I probably should have done years ago (I guess I probably hoped someone else would have done it by now haha).

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ast-explorer Ready Ready Preview, Comment Apr 30, 2026 6:02pm

camc314 added a commit to oxc-project/oxc that referenced this pull request May 1, 2026
Fixes #21995 

Unblocks
- sxzz/ast-explorer#263

Why?
- getting the actual list of visitorKeys provides an optimization for
tools like zimmerframe, which will `walk` over only the things specified
in the visitorKeys list -- helping prevent accidental recursive
visiting, which can happen when a tree adds parent referencs

Co-authored-by: Cameron <cameron.clark@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant