Jump to page: 1 2
Thread overview
Deimos - ODE bindings
Apr 01, 2012
q66
Apr 01, 2012
Walter Bright
Apr 01, 2012
q66
Apr 01, 2012
Walter Bright
Apr 01, 2012
q66
Apr 01, 2012
Walter Bright
Apr 01, 2012
q66
Apr 01, 2012
Walter Bright
Apr 01, 2012
q66
Apr 02, 2012
Jens Mueller
Apr 02, 2012
Jacob Carlborg
April 01, 2012
I'm currently writing ODE plain C-D bindings and I have a question about requirements for inclusion into Deimos; is it required to keep the original documentation comments in the .d files? I see all Deimos projects include them, but IMO they are not too useful, as they are already present in the C headers, they just make it look ugly.

Thx
April 01, 2012
On 4/1/2012 7:11 AM, q66 wrote:
> I'm currently writing ODE plain C-D bindings and I have a question about
> requirements for inclusion into Deimos; is it required to keep the original
> documentation comments in the .d files? I see all Deimos projects include them,
> but IMO they are not too useful, as they are already present in the C headers,
> they just make it look ugly.

I'd like them so that someone can easily compare the D versions with the C versions. Leaving the comments in will make that comparison easier.

April 01, 2012
On Sunday, 1 April 2012 at 18:32:05 UTC, Walter Bright wrote:
> On 4/1/2012 7:11 AM, q66 wrote:
>> I'm currently writing ODE plain C-D bindings and I have a question about
>> requirements for inclusion into Deimos; is it required to keep the original
>> documentation comments in the .d files? I see all Deimos projects include them,
>> but IMO they are not too useful, as they are already present in the C headers,
>> they just make it look ugly.
>
> I'd like them so that someone can easily compare the D versions with the C versions. Leaving the comments in will make that comparison easier.

Figured so. I was asking because I ported ODE D bindings from Derelict 2 to Derelict 3 and making it without comments would be basically just about some sed processing. Anyway, I've been working on it in the meantime and finished it, leaving the original comments intact, as well as complete ODE 0.12 API macros and odemath inclusive: https://github.com/quaker66/ODE-D It's structured like any other Deimos project.
April 01, 2012
On 4/1/2012 11:35 AM, q66 wrote:
> Figured so. I was asking because I ported ODE D bindings from Derelict 2 to
> Derelict 3 and making it without comments would be basically just about some sed
> processing. Anyway, I've been working on it in the meantime and finished it,
> leaving the original comments intact, as well as complete ODE 0.12 API macros
> and odemath inclusive: https://github.com/quaker66/ODE-D It's structured like
> any other Deimos project.

I've added a Deimos project. Can you do a pull request to add it in?

https://github.com/D-Programming-Deimos/ODE
April 01, 2012
On Sunday, 1 April 2012 at 19:34:49 UTC, Walter Bright wrote:
> On 4/1/2012 11:35 AM, q66 wrote:
>> Figured so. I was asking because I ported ODE D bindings from Derelict 2 to
>> Derelict 3 and making it without comments would be basically just about some sed
>> processing. Anyway, I've been working on it in the meantime and finished it,
>> leaving the original comments intact, as well as complete ODE 0.12 API macros
>> and odemath inclusive: https://github.com/quaker66/ODE-D It's structured like
>> any other Deimos project.
>
> I've added a Deimos project. Can you do a pull request to add it in?
>
> https://github.com/D-Programming-Deimos/ODE

Done.
April 01, 2012
On 4/1/2012 1:00 PM, q66 wrote:
> On Sunday, 1 April 2012 at 19:34:49 UTC, Walter Bright wrote:
>> On 4/1/2012 11:35 AM, q66 wrote:
>>> Figured so. I was asking because I ported ODE D bindings from Derelict 2 to
>>> Derelict 3 and making it without comments would be basically just about some sed
>>> processing. Anyway, I've been working on it in the meantime and finished it,
>>> leaving the original comments intact, as well as complete ODE 0.12 API macros
>>> and odemath inclusive: https://github.com/quaker66/ODE-D It's structured like
>>> any other Deimos project.
>>
>> I've added a Deimos project. Can you do a pull request to add it in?
>>
>> https://github.com/D-Programming-Deimos/ODE
>
> Done.

and done. Thanks!
April 01, 2012
On Sunday, 1 April 2012 at 20:09:40 UTC, Walter Bright wrote:
> On 4/1/2012 1:00 PM, q66 wrote:
>> On Sunday, 1 April 2012 at 19:34:49 UTC, Walter Bright wrote:
>>> On 4/1/2012 11:35 AM, q66 wrote:
>>>> Figured so. I was asking because I ported ODE D bindings from Derelict 2 to
>>>> Derelict 3 and making it without comments would be basically just about some sed
>>>> processing. Anyway, I've been working on it in the meantime and finished it,
>>>> leaving the original comments intact, as well as complete ODE 0.12 API macros
>>>> and odemath inclusive: https://github.com/quaker66/ODE-D It's structured like
>>>> any other Deimos project.
>>>
>>> I've added a Deimos project. Can you do a pull request to add it in?
>>>
>>> https://github.com/D-Programming-Deimos/ODE
>>
>> Done.
>
> and done. Thanks!

Cool. I'll try to get some other lib bindings up in the future as well. :)
April 01, 2012
On 4/1/2012 1:12 PM, q66 wrote:
> Cool. I'll try to get some other lib bindings up in the future as well. :)

That would be most appreciated.
April 01, 2012
On Sunday, 1 April 2012 at 20:32:00 UTC, Walter Bright wrote:
> On 4/1/2012 1:12 PM, q66 wrote:
>> Cool. I'll try to get some other lib bindings up in the future as well. :)
>
> That would be most appreciated.

I'm preparing my game engine for possible migration to D. Means I
need all the libs ready, they already are, some of them are
supplied by the Derelict project. But, there is this thing with
dynamic loading of libs at runtime. I need the possibility of
static linkage so having Deimos style bindings would surely be
nice.

I'm also binding Enlightenment Foundation Libraries
(http://enlightenment.org/p.php?p=about&l=en) to D, featuring low
level (plain) and high level bindings. It's a lot of separate
libraries, and E SVN has a special directory for bindings to
various languages, so I'm yet unsure whether to get it into
Deimos or to E SVN.
April 02, 2012
q66 wrote:
> On Sunday, 1 April 2012 at 20:32:00 UTC, Walter Bright wrote:
> >On 4/1/2012 1:12 PM, q66 wrote:
> >>Cool. I'll try to get some other lib bindings up in the future as well. :)
> >
> >That would be most appreciated.
> 
> I'm preparing my game engine for possible migration to D. Means I need all the libs ready, they already are, some of them are supplied by the Derelict project. But, there is this thing with dynamic loading of libs at runtime. I need the possibility of static linkage so having Deimos style bindings would surely be nice.

Do you want to load libraries at run time?
Can you check http://jkm.github.com/ddl/ddl.html? Technically any Deimos
module should work.

Jens
« First   ‹ Prev
1 2