Existence of a luabind::execute_file function ?

Teto <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hi,

I started lua with luabind using it (or wanting to use it) as a C++
wrapper for lua. It allowed me to run my first lua script very quickly
(in a day) but also allowed me to avoid learning about lua inner
mechanisms (which was a bad thing, I had quite some difficulties to
getmyself learning the C api after that, I would recommand anyone to
start using lua without luabind and after some time to resort to
luabind)
I was wrong since many things are not possible with luabind alone. You
have to use lua functions. I was wondering to what extent luabind was
meant to complete lua. For example, is there any project to create a
function that replaces lua_loadfile || lua_pcall such as int
luabind::execute_file(const char*).
It would basically push the error callback function, load the file
chunk and then do an appropriate pcall and pop the callback function.
Does that go into the attribution of luabind ? or is luabind focusing
on binding only ?

Regards

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.