+1 from me too. AST + tools (compile JS to AST, get AST from a function object, produce a function object from AST, simple AST manipulations, and so on) will help us (JS developers) tremendously by reducing the existing hackery, and increasing the performance, while clearing the road for the various meta-programming techniques.
Eugene Lazutkin Dojo Toolkit, Committer http://lazutkin.com/ On 05/09/2009 11:19 AM, David-Sarah Hopwood wrote: > kevin curtis wrote: >> Re: >> eval.hermetic(program :(string | AST), thisValue, optBindings) :any >> >> Is a 'canonical' AST part of the plans for ecmascript 6/harmony. > > I hope so; that would be extremely useful. I would like to see an > ECMAScript source -> AST parser (as well as an AST evaluator) in the > Harmony standard library. > _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

