Robust Javascript parser in Java
I am looking for a robust Javascript parser written in Java - by which I mean a Javasc开发者_开发百科ript parser that is able to handle most real world Javascript.
I am only interested in parsing Javascript, not in executing it.
I have found Rhino: http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/1eff23a8ee57b991
Am I missing anything? Is this the best solution?
Thank you! Misha
That's probably the best Java one. As you probably know, it's developed by Mozilla (though it's not used by their browsers), and it's also bundled by Sun.
精彩评论