开发者

Robust Javascript parser in Java

开发者 https://www.devze.com 2023-01-03 13:06 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消