3 projects tagged "v8"
vu8 is a project that allows one to give JavaScript access to C++ classes and methods. The binding library is a header-only library that uses template metaprogramming extensively to make binding as easy as possible for the library user. vu8 also provides a library to add "vu8.load" to the v8 JavaScript context, which is a system for loading C++ plugins from shared libraries. Cmake modules are provided to make it easy to build C++ modules for use with "vu8.load". A binary is also provided for running JavaScript files in a context which has vu8 module loading functions provided.
/bin/js is a Bash/JavaScript-based shell scripting language. It is a mashup of JavaScript syntax with Bash one-liners which looks and feels like C/C++/Java. Shell scripts can be written with the shebang #!/bin/js, and all lines are executed as Bash commands. All code loops, switch statements, functions, and classes are written in JavaScript. JavaScript array syntax, number types, and i++ are supported, so the resulting shell scripts are easy to write and to read. Anyone who can write JavaScript and Linux commandline statements can write /bin/js scripts.