On Thu, Apr 26, 2012 at 11:13, Jens Nicolay <[email protected]> wrote:
> This Wiki page <http://code.google.com/p/v8/wiki/RuntimeFunctions> states > that much of the JavaScript library is implemented in > JavaScript<http://code.google.com/p/v8/wiki/JavaScript> code > itself, using a minimal set of C++ runtime functions callable from > JavaScript. > I tried to look for this implementation online, but couldn't find anything. > > Could someone provide me with a pointer to this implementation? > Just browse the source and look for .js files. http://code.google.com/p/v8/source/browse/trunk/src/array.js is one example. > > The reason is that I'm implementing an (abstract) interpreter myself, and > I would also like to avoid hardcoding the entire implementation of > primitive JavaScript functions/objects in my interpreter. Maybe I can get > some inspiration from how the V8 people did this. > > Thanks, > Jens. > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
