Just like there are many scripting langs , but still there is a
need/space for lua, which lua uniquely fills, in the same way swig binding
has also many advantages in the world of interfacing with scripting
langs with any scripting lang can't ignore. What do u say?
actually there was no doubt that lua-api is easy. But ,
i)when you have to expose your C++ lib/api to many scripting langs,
then swig is the natural choice.
ii) there is nothing to do for swig in most of the cases. It is also
very easy/EASIER. Only c/c++ declarations are reqd . And in many cases
also these are also not reqd. The c source itself can generate the
required code (if binding of swig to that lang is available ).
anyway, if it is not implemented yet, then ok, i will make use of
lua -api itself.
Ashish Ranjan email@example.com