cpgf -- open source C++ library for callback, reflection, script binding
cpgf documentation download change log support

cpgf script binding -- an open source library to bind Lua and Google V8 Javascript to C++

cpgf script binding library is very easy script binding engine to bind Lua and Google V8 Javascript to C++.
The library uses reflection meta data extensively.

cpgf script binding is licensed under Apache License, Version 2.0

The supported Lua library is version 5.1
The supported Google V8 Javascript library is Version 3.4.5

Key features

Different script language, same API interface!


Though there is very big difference in internal implementation and public API between Lua and Google V8 Javascript, cpgf makes the binding exactly the same.
We use same data, the reflection meta data, to drive the binding.
We use same API, only the interface of classes GScriptObject and IScriptObject, to make the binding.

What does that mean?
It means write your C++ code once, binding to any script languages -- now supported Lua and V8 Javascript, on any platforms -- Windows, Linux, Mac, VC, gcc, XCode.

Are you a game developer? Try this library. Use Lua and Javascript to make your game AI and logic fast and easily.
Are you a desktop application developer? Try this library. Use Lua and Javascript to extend your application fast and easily.
Are you a web developign team? Try this libray. Connect your great web experience to desktop fast and easily.

Write a comment

  • Required fields are marked with *
  • Security Code is case sensitive, 'A' is different with 'a'.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code: