Dub - generic?

0 views
Skip to first unread message

Peter Kümmel

unread,
Dec 11, 2010, 9:18:12 AM12/11/10
to rubyk
Hello,

today I discoverd your interesting way to use doxygen for creating a
language binding.
So I had a look at the code and I found the lua folder in dub/
https://github.com/rubyk/dub/tree/master/lib/dub

Does this mean that all code not beeing in the lua folder is script-
language agnostic,
which would it make possible to add a binding to a other script-
languange by defining
the *.rb/*.erb files of the lua folder?

Many thanks,
Peter Kümmel

Gaspard Bucher

unread,
Dec 11, 2010, 11:04:22 AM12/11/10
to ru...@googlegroups.com
Yes, Dub is language agnostic.

I have some issues with parsing the latest OpenCV sources (huge) so I want to do some work to optimize the way templates and typedefs are resolved (lazy loading). I also want to do some work to make it easy to "insert" new declarations in an existing bindings file. But since I am rewriting Rubyk, I doubt I will manage to do this very soon.

Gaspard



--
_______________________________________________
rubyk mailing list
ru...@rubyk.org
http://rubyk.org/en/community

Peter Kümmel

unread,
Dec 12, 2010, 7:23:19 AM12/12/10
to ru...@googlegroups.com
Very good, maybe I try it for a other project.
Also a reason to learn Ruby ;)

Peter

On 11.12.2010 17:04, Gaspard Bucher wrote:
> Yes, Dub is language agnostic.
>
> I have some issues with parsing the latest OpenCV sources (huge) so I want
> to do some work to optimize the way templates and typedefs are resolved
> (lazy loading). I also want to do some work to make it easy to "insert" new
> declarations in an existing bindings file. But since I am rewriting Rubyk, I
> doubt I will manage to do this very soon.
>
> Gaspard
>
>
> On Sat, Dec 11, 2010 at 3:18 PM, Peter K�mmel <synth...@gmx.net> wrote:
>
>> Hello,
>>
>> today I discoverd your interesting way to use doxygen for creating a
>> language binding.
>> So I had a look at the code and I found the lua folder in dub/
>> https://github.com/rubyk/dub/tree/master/lib/dub
>>
>> Does this mean that all code not beeing in the lua folder is script-
>> language agnostic,
>> which would it make possible to add a binding to a other script-
>> languange by defining
>> the *.rb/*.erb files of the lua folder?
>>
>> Many thanks,

>> Peter K�mmel

Reply all
Reply to author
Forward
0 new messages