You need to use d8 that needs to be compiled as far as I know.
On Monday, December 5, 2022 at 7:20:27 AM UTC-7 sabarir...@gmail.com wrote:
> I have used it.But i get this error
> Error: unrecognized flag --print-ast
>
>
> On Monday, December 5, 2022 at 5:57:06 PM UTC+5:30 Ben Noordhuis wrote:
>
d8 --print-ast produces AST in tree format. Is there a way to get it as
JSON either natively or with an external tool?
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"
Thank you.
On Tuesday, December 10, 2024 at 8:39:17 AM UTC-7 les...@chromium.org wrote:
> No, the AST printing is intended to be debug printing for V8 developers
> and doesn't have any stability guarantees on the format or functionality.
> You may want to use a JS-native JS parser, e.g. acorn (