Getting AST

20 views
Skip to first unread message

Sabari Ravi

unread,
Dec 5, 2022, 11:57:24 AM12/5/22
to v8-users
Is there any method to get AST in v8? If so let me Know... 

Ben Noordhuis

unread,
Dec 5, 2022, 12:27:06 PM12/5/22
to v8-u...@googlegroups.com
On Mon, Dec 5, 2022 at 12:57 PM Sabari Ravi <sabarir...@gmail.com> wrote:
>
> Is there any method to get AST in v8? If so let me Know...

--print-ast

Sabari Ravi

unread,
Dec 5, 2022, 2:20:27 PM12/5/22
to v8-users
I have used it.But i get this error
Error: unrecognized flag --print-ast

Paul Sery

unread,
Dec 9, 2024, 10:04:40 PM12/9/24
to v8-users
You need to use d8 that needs to be compiled as far as I know. 
Reply all
Reply to author
Forward
0 new messages