[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua binding compare-and-contrast
- From: Michal Kottman <k0mpjut0r@...>
- Date: Thu, 16 Dec 2010 22:13:30 +0100
On Thu, 2010-12-16 at 22:03 +0100, Gaspard Bucher wrote:
> Another advantage of using Doxygen is that
>
> 1. you get free html documentation for your Bindings (since bindings
> mimic C++ very closely)
> 2. In the latest version, you can use custom tags such as @dub to
> change parameters used during binding:
>
> /** Some class.
> *
> * @dub string_format:'%%f'
> * string_args:'(*userdata)->interval()'
> * lib_name:'special_core'
> */
>
> The second point is nice because it means that class maintenance (with
> bindings) is reduced to the header file alone.
Now to rewrite Dub to Lua in order to get rid of that Ruby dependence :)