Err, you can load the source from anywhere, in c++ and then let it compile and run with v8...
2012/9/3 Mohammad Ashiqur Rahaman <[email protected]> > Hi All, > > I am a newbie in the V8 world. I have just build V8 and run the Helloworld > example. However, yet to be productive. What I would like to do is the > following: > > 1. to call C++ objects/methods from JS without writing the JS code as > string inside c++!!! > 2. to use external JS library > > regarding 1 so far what i understood that you need to be still in the C++ > side in order to somehow use JS. That is you have to write JS code as > string inside C++ and then run. But what if i want to use an external JS > file where I can simply write the v8 code to invoke v8 enabled c++ classes > and methods?? I am missing this part. > > Any help will be appreciated. > > Best regards, > > Riyadh > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- Bc. Peter Vaňušanik http://www.bishojo.tk -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
