On 14 September 2013 13:21, Ivan P. <[email protected]> wrote:
> Hello, Does anyone has experience with using V8 as standalone parser?
> Please share any links and/or code if possble.
> The idea is to get AST and traverse it.
> I need only traverse AST, not modify it.

This comes up frequently, but the answer remains the same: scrap the
idea. ;) Neither the V8 parser nor its AST are designed for external
interfacing. In particular (1) V8's AST does not necessarily reflect
JavaScript syntax 1-to-1, (2) we change it all the time, and (3) it
depends on various V8 internals. And since all these points are
important for V8, don't expect the situation to change.

/Andreas

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to