Skip to content

Ability to use Script and Module ASTs directly #2124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ejsmith
Copy link
Contributor

@ejsmith ejsmith commented Jun 23, 2025

I would like to be able to have the ability to use other parsers or augment existing parsers and provide Jint with the AST directly. The main use case I'm trying to solve for is I would like to have a TypeScript parser that strips out any TypeScript code while preserving all source locations and pass that directly into Jint as a normal JavaScript AST. Thoughts?

@ejsmith ejsmith changed the title Ability to use Script and Module ASTs Ability to use Script and Module ASTs directly Jun 23, 2025
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