Bea helps you expose C++ libraries to Javascript.
It generates the 'glue' code between your C++ classes and the V8 Javascript engine. The objects and functions which you want to expose are defined in special '.bea' files. Bea parses these files and generates a .h and .cpp which you include in your project and build it. Then you can write Javascript applications which use your C++ classes.
So far, bea has been successfully used to expose the OpenFrameworks C++ library to Javascript (https://github.com/codeboost/JOpenFrameworks), OpenGL 1.1 and the OpenCV library.
Install node.js, then Coffee-Script, then run npm install to get bea dependencies:
npm install -g coffee-script
...
git clone git@github.com:codeboost/bea.git
cd bea
npm install
After that, you can run bea, like so:
coffee bea fileName.bea
Please read the DOCUMENTATION.md file.