-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
[Feature] Consider/ Requesting Access to read-only AST of Javascript Parser #50949
Comments
+1 Adding to v8/v8.dev#717 |
+1 Adding to #45158 |
Node.js does not have access to any AST; you could open that feature request on the V8 bug tracker (v8/v8.dev#717 is for https://v8.dev, not the JS engine), but my guess is they won't be interested (because otherwise they would have done it already). |
FWIW I'm not aware of any TC39 proposal to expose the AST.
I appreciate that it can be hard to find the right person to tak to, however I don't think opening issues on random repos will get you what you want – because it shows you don't understand (or you don't care) what are the existing processes and how your request fits into it. |
@aduh95 Can someone help me reopen this for a read only ast feature in nodejs? I recommended a sugar access of readonly AST for the server environment only. hope someone considered it to reopen this. let me raise an v8 request for sure but a realtime AST across in v8 and every browser associated can be __**. Happy new year in advance. |
What is the problem this feature will solve?
Has the Access AST of the javascript module proposal been accepted into tc9 and node.js? Can someone take lead and help raise an proposal for this?
Can you make the AST available as read-only to developers in browsers [rethink security concerns] and js server environments if not on browers? Seems like the mozilla docs Parser_API documentation is somehow removed and I am still wondering how to access the file's parsed, even if read-only, AST
I wish to strongly vote for it, if this is in consideration. I recommend the access using a separate nodejs module api, if requested for my view. pls consider security and runtime risks based on your immense experience with such an nodejs module api access without a commandline's force access ast option enabled or other secure alternatives.
What is the feature you are proposing to solve the problem?
Access AST of the javascript module in runtime engines if not on browsers.
What alternatives have you considered?
The text was updated successfully, but these errors were encountered: