Thank you for your response. I saw the shell example in the v8 code. And I will look at the links you provided. The main problem is that we are not that experienced with C/C++. So what appears simple to you guys is just a lot stuff we only partially understand. This is the main reason we want JavaScript in this application. We want to be able to extend this application using JavaScript not C and C++.
I expect that the amount of help that we need from someone experienced in v8 is pretty minimal. The SDK is pretty well documented. Perhaps we could give it a try ourselves, and see how far we get. We will likely have a lot of really nooby questions though and don't real want to drop those on this list. Thanks Todd On Sep 29, 10:08 am, Stephan Beal <[email protected]> wrote: > On Thu, Sep 29, 2011 at 6:47 PM, toddgeist <[email protected]>wrote: > > > I am looking to hire someone to help us embed v8 into another > > application. The application is cross platform and has a C/C++ SDK > > for both platforms. The goal of the project is to create a plugin that > > gives the application the ability to execute JavaScript code. > > If all you want to do is execute vanilla JS code, without any bindings to > your own native classes, then look at the sample shell app (shell.cc) in the > v8 tree - it demonstrates all the code you need for this: > > a) Set up v8 environment (1 time only) > b) When passed in script code: > c) Read it in as a string (if it's coming from a file or whatnot) > d) Compile it > e) Run it > > If you want to add your own native classes to the mix, there are several > frameworks for doing so. Links to several can be found > at:http://code.google.com/p/v8-juice/wiki/HomePage#Related_work > > -- > ----- stephan bealhttp://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
