Hi Clifford, I do not understand why you want to plug into AST directly.
It will require allow digging into V8 internals. Exposing Zone-mananged AST objects to GC-mananged JS-land is possible but extremely painful. I would not recommend doing that. Generating and evaling intermediate JS code seems to be way more straightforward and simple. -- Vyacheslav Egorov On Mon, Oct 18, 2010 at 2:45 PM, Clifford Heath <[email protected]> wrote: > Mads, > > Thanks for answering. > >> V8 is a JavaScript engine and we are not planning on making it a >> direct target for other languages. Compiling other languages to >> JavaScript and running them on V8 is perfectly fine. We are not >> planning on exposing AST creation directly. > > I wasn't expecting you would want to incorporate this change. > I was just hoping for some pointers to make it easier for me to > try it... it's an experiment - nothing evil about that is there? > > Clifford Heath. > > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
