Re: Preview LLVM Deimos bindings

2012-07-23 Thread Sönke Ludwig
Am 22.07.2012 12:10, schrieb Jens Mueller: Sönke Ludwig wrote: Am 20.07.2012 07:35, schrieb Jens Mueller: Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those. Firstly to finish these and secondly to finish

Re: Preview LLVM Deimos bindings

2012-07-23 Thread Jacob Carlborg
On 2012-07-23 08:56, Sönke Ludwig wrote: Ok great, then I can throw away my bindings :) (unfortunately I couldn't publish them because of my former employee...). Btw. regarding Barnard's comment about LLVM-C, I partially agree. Several additions/modifications were necessary in my case to be

Re: Preview LLVM Deimos bindings

2012-07-23 Thread Sönke Ludwig
Am 23.07.2012 09:16, schrieb Jacob Carlborg: On 2012-07-23 08:56, Sönke Ludwig wrote: Ok great, then I can throw away my bindings :) (unfortunately I couldn't publish them because of my former employee...). Btw. regarding Barnard's comment about LLVM-C, I partially agree. Several

Re: Preview LLVM Deimos bindings

2012-07-23 Thread Jacob Carlborg
On 2012-07-23 13:45, Sönke Ludwig wrote: I thought it doesn't yet support C++? But anyways, next time I have to make bindings for a C library I'll definitely try dstep. No, it doesn't support C++. I was thinking about generating bindings for the C API. -- /Jacob Carlborg

Re: Preview LLVM Deimos bindings

2012-07-23 Thread David Nadlinger
On Monday, 23 July 2012 at 06:56:26 UTC, Sönke Ludwig wrote: I wonder if it's feasable to compile LLVM using DMC and then use extern(C++) to make an object oriented interface at some point, possibly using SWIG or something. The fact that the LLVM C++ API uses templates quite heavily might

Re: Preview LLVM Deimos bindings

2012-07-22 Thread Pragma Tix
Am 22.07.2012 07:50, schrieb Sönke Ludwig: re the bindings for 3.0 or 3.1? I'm asking because at least some enum members have changed (don't exactly remember which). Looks like 3.1 https://github.com/jkm/deimos-llvm

Re: Preview LLVM Deimos bindings

2012-07-22 Thread Jens Mueller
Sönke Ludwig wrote: Am 20.07.2012 07:35, schrieb Jens Mueller: Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those. Firstly to finish these and secondly to finish some guidelines that I'd like to

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Jens Mueller
Bernard Helyer wrote: Very interesting. I'd be interested in making some D Native feeling bindings, because the LLVM C bindings are A, inconsistent, and B, complete shit. So this is interesting. Building a better wrapper on top of these would be nice. Can you give examples for A and B? Jens

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Michaël.Larouche
On Friday, 20 July 2012 at 05:36:26 UTC, Jens Mueller wrote: Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those. Firstly to finish these and secondly to finish some guidelines that I'd like to propose to

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Jens Mueller
=?UTF-8?B?Ik1pY2hhw6ts?=.Larouche michael.larou...@gmail.com@puremagic.com wrote: On Friday, 20 July 2012 at 05:36:26 UTC, Jens Mueller wrote: Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those.

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Bernard Helyer
On Saturday, 21 July 2012 at 15:30:46 UTC, Jens Mueller wrote: Bernard Helyer wrote: Very interesting. I'd be interested in making some D Native feeling bindings, because the LLVM C bindings are A, inconsistent, and B, complete shit. So this is interesting. Building a better wrapper on top

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Jens Mueller
Bernard Helyer wrote: On Saturday, 21 July 2012 at 15:30:46 UTC, Jens Mueller wrote: Bernard Helyer wrote: Very interesting. I'd be interested in making some D Native feeling bindings, because the LLVM C bindings are A, inconsistent, and B, complete shit. So this is interesting. Building

Re: Preview LLVM Deimos bindings

2012-07-21 Thread Sönke Ludwig
Am 20.07.2012 07:35, schrieb Jens Mueller: Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those. Firstly to finish these and secondly to finish some guidelines that I'd like to propose to be published on

Re: Preview LLVM Deimos bindings

2012-07-20 Thread Bernard Helyer
Very interesting. I'd be interested in making some D Native feeling bindings, because the LLVM C bindings are A, inconsistent, and B, complete shit. So this is interesting.

Preview LLVM Deimos bindings

2012-07-19 Thread Jens Mueller
Hi, I've written some Deimos interface for LLVM. https://github.com/jkm/deimos-llvm/commits/master I'd like to get some feedback on those. Firstly to finish these and secondly to finish some guidelines that I'd like to propose to be published on dlang.org. Jens