Sign in to follow this  
animator

best javascript parser?

Recommended Posts

I am looking for a library that I can use with C++ to parse some javascript or ECMA script into a nice tree structure. That's all it has to do. Any advice if there is anything that can do that?

Share this post


Link to post
Share on other sites
You could use Google's V8 (http://code.google.com/p/v8/) or Mozilla's SpiderMonkey (http://www.mozilla.org/js/spidermonkey/).
SpiderMonkey is fairly easy to implement, I don't know about V8.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this