On Tue, Aug 2, 2011 at 5:49 PM, Stephan Beal <[email protected]> wrote: > i recently stumbled across a C-based JS engine (not SpiderMonkey), but can't > for the life of me find a link to it now. If any of you happen to know what > i'm talking about, i'd be very thankful for a link.
If you're not looking for an implementation of ECMAScript but simply want a C-callable scripting engine, you may want to try Lua. Alternatively, can you refactor your program such that you have a couple of extremely high level functions that do exactly what your program needs (eg "call_user_script()"), and implement just those in C++ so they can make use of V8? Assuming your project is of sufficient scale to be impractical to entirely port, and you're only just adding V8 to it now, chances are you can divide it in this way. Chris Angelico -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
