Миша Кошелев
Миша Кошелев

Reputation: 1513

Robust Javascript parser in Java

I am looking for a robust Javascript parser written in Java - by which I mean a Javascript 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

Upvotes: 2

Views: 2883

Answers (1)

Matthew Flaschen
Matthew Flaschen

Reputation: 284816

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.

Upvotes: 5

Related Questions