What is the best way to use V8 to parse Javascript without compiling or running it? I looked through the code and found a line in compiler.cc, in MakeFunction:
// Build AST. FunctionLiteral* lit = MakeAST(is_global, script, extension, pre_data); However, I don't see a way to access the AST via the API. Any recommendations? --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
