llv8call

This library provides native features for v8.This is based on nspr(NetScape Portable Runtime).This module works on follow systems(see also nspr-platforms).

  • Linux
  • Win32
  • FreeBSD
  • MacOS X

repos

svn co http://svn.coderepos.org/share/lang/cplusplus/llv8call/

Usage

    v8::HandleScope handle_scope;
    v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New();
    v8::Handle<v8::Context> context = v8::Context::New(NULL, global);
    v8::Context::Scope context_scope(context);
    LLV8::Init(argc, argv, context->Global());

Features

core features

  • File()
  • Dir()
  • System vars
  • STDIN/STDOUT/STDERR
  • Process Management
  • Load Dynamic Library
  • require()

standard extensions

  • libmemcached support
  • libfastcgi support
  • sqlite3 support
  • curl support

misc

  • better shell.cc with libreadline =)