v8 is a JS engine only. Any other application layer would sit on top of it. Chrome/Chromium would be one prime example.
The basics of integrating with v8 are covered in the samples/ folder, src/d8.*, and include/v8.h [0]. Just as in SpiderMonkey where I/O and application functionality are handled by other layers (NSPR, Gecko, etc.), the same applies to V8. Embeddings of v8 are node.js [1], TeaJS [2], and SilkJS [3]. [0] https://github.com/v8/v8 [1] http://www.nodejs.org/ [2] https://code.google.com/p/teajs/ [3] http://www.silkjs.net/ On Tue, Oct 21, 2014 at 5:17 AM, <[email protected]> wrote: > Hi, > > I am about a week old to V8 and I couldn't find answers to my question from > the documentation. > > A background, I have been trying to figure out if V8 could be used to > replace JS engine (Spidermonkey) of my C++ application, which is a VXML > engine. Variables in VXML are nothing but ECMA script variables. So any > variable/expression used in VXML results in a call to JS engine. Also, java > script can also be embedded inside and called from VXML scripts. > > - Is there a way to achieve this in V8 or any documentation which explains > this (I couldn't find it) ? > > - Am in correct in gathering that V8 does not support xmlhttprequest/DOM > parsing natively? and that node.js will have to be used to get such > functionality? > > Thanks in advance. > > Regards, > Anshuman > > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
