I just put up the first release of a new project, Swig Starter Kit, on google code.

The Swig Starter Kit starts with the sample C++ class:

class Script_Interface {   
  public:     
    Script_Interface();     
    ~Script_Interface();      
    int get_a_value(); 
};

And shows how you can go about utilizing that C++ class from Lua:

require ('SwigStarterKit');  
var = SwigStarterKit.Script_Interface(); 
print (var:get_a_value());

The point of the project is to provide a simple example of how you might use SWIG to integrate C++ and a scripting language. This release provides an extremely simple C++ class (just one method) and has an example of using that class with Lua. It has both a Lua library example and an embedded Lua example. This release uses autoconf, future support for cmake is planned, to provide more usable examples. Also, support for additional swig supported languages is planned.