On Jul 9, 9:32 am, Glenn Boysko <[EMAIL PROTECTED]> wrote: > Norris: > > > The new AST work is in progress and I'm expecting to get a code drop > > in a week or two, and then it's just up to me to review and commit to > > CVS. Then we have the release process for 1.7R2. So I'd say a month at > > the earliest, although once it's in CVS you can use it unreleased. > > Can you elaborate on any of the changes specifically? Does it make it > easier for tools to parse JS without compiling it to Java? Are you > using the same Tokens, but structured in trees differently? Newer > tokens? > > Any insight you can provide would be helpful. > > Thanks, > Glenn
Yes, there will be an API to parse JavaScript and get back an Abstract Syntax Tree (AST) without compiling to Java or executing. There will be a new set of classes that describe the JavaScript source. I haven't seen any of the code yet, so I can't provide any more detail... --N _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
