Bea tools for C++
The purpose of Bea C++ is to provide a 'glue' between the code generated by the Bea C++ to V8 Converter and native C++ library/application. It is a single .h file which provides all the APIs needed by the converter. A short description of the API is found in this file.
Building You must have the boost libraries installed. Although it bothers me to have this dependency, it is the easiest way to do cross-platform filesystem operations (required by beascript, which loads scripts and resolves includes). On MacOS X, use
brew install -v boost 2>&1 You must build v8 and link your app against it. See the examples for a demo project.
Helper macros which creates a static variable bea::ExposedClass<ClassName>* bea::ExposedClass<ClassName>::Instance = NULL;
Helper macros which creates an instance of ExposedClass<typeName> and exposes it as jsName