• Advertisement
Sign in to follow this  

best javascript parser?

This topic is 3440 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement