As you know, v8 compile the script to native code at the end; even so, it will generate and optimize the AST base on script with MakeAST function in MakeFunction. So, my question is how to get the FunctionLiteral object that return from MakeAST at runtime?
In fact, I'm maintaining a python v8 wrapper, the pyv8 project, I want to provide some helper class to visit AST for code audit or style check etc, could I just reuse AST at somewhere? or I must compile script again for AST with MakeAST function? Thanks
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
