Lua 5.1.3 bindings with wrapper classes and mixins released

Matthias Walter Matthias.Walter at st.ovgu.de
Mon Aug 4 10:58:20 PDT 2008


yidabu Wrote:

> On Sat, 02 Aug 2008 16:45:49 -0400
> Matthias Walter <Matthias.Walter at st.ovgu.de> wrote:
> 
> > I'd like to announce the release of my Lua 5.1.3 bindings, which come with the following features, making Lua-interfacing really easy with D:
> > 
> > * Wrapper classes for lua_State and lua_Buffer make interfacing in OOP style an elegant thing.
> > * LuaObject classes represent the lua native datatypes and let you save/load them easily to binary streams to save your data or send it over the network
> > * Safe lua calls are now exception-safe! This was by now impossible, due to Luas use of the longjmp() function family.
> > * Support for stack- and function-traces for better debugging.
> > * Processing of output is variable via delegates
> > * Wrapping of D classes in lua with a per-state registration of specific functionality of the class is possible via mixins. On the one hand, one can create arbitrary Lua objects in D classes, but on the other hand let lua programs create and work on D objects as well.
> > 
> > best regards
> > Matthias Walter
> 
> any examples of usage?
> 
> 
> -- 
> yidabu <yidabu.spam at gmail.com>
> http://www.dsource.org/projects/dwin
> 
> D ÓïÑÔ-ÖÐÎÄ(D Chinese):
> http://www.d-programming-language-china.org/
> http://bbs.d-programming-language-china.org/
> http://dwin.d-programming-language-china.org/
> http://scite4d.d-programming-language-china.org/
> 
> 

The code is very well documented, also with examples. But I'll put some on the site at dsource: http://dsource.org/projects/bindings/wiki/LuaLib 

best regards
Matthias Walter


More information about the Digitalmars-d-announce mailing list