Jump to content
  • Advertisement
Sign in to follow this  
animator

best javascript parser?

This topic is 3563 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!