lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Thank you Roberto,  Michal for your replay.
And I'm sorry my reply is late.

> Thank you for sharing. Please don't take this as criticism, just curiosity - what was the motivation to develop a new C++ binding generator? How does it compare to other existing Lua binding generators, what sets it apart?

Many years ago I developed this binding generator originally for my
another OSS drawing tool. I've been leaving the drawing tool for long
time, but recently I had a chance to edit it, then I decided to fix
the generator and open it at github.

When I started to bind Lua and my drawing tool, I used toLua, toLua++
and Luabind. But they did not support new version of Lua, so I decided
to make a new binding tool. That is the motivation.
To tell the truth, I don't know a lot about other binding generators,
so I cannot compare my generator and others. But I was aware of the
following points when development of it.
- Users do not have to add extra-code for binding.
- It is not affected by the version up of Lua, as possible.
- It generates an API manual too.
- Easy debugging. The generated code includes comments that describe
which program generates the code. See the following example.
// Generated at "c:\src\luamango\luamango\luamango.cpp"(7137)
Mangolib::push_table(L, "Type");

Dynamic Draw Project
Masayuki Fukushiro
lua-l mailing list --
To unsubscribe send an email to