Re: [Cython] Gsoc project

2012-03-29 Thread Nathaniel Smith
On Thu, Mar 29, 2012 at 5:25 PM, David Malcolm wrote: > On Thu, 2012-03-29 at 11:10 +0100, mark florisson wrote: >> > Then what happens if you have >> > >> > #ifdef FOO >> > #define BAR 3 >> > #else >> > #define BAR 4 >> > #endif >> > >> > ?? I'm not saying it is hard, but perhaps no longer comple

Re: [Cython] Gsoc project

2012-03-29 Thread David Malcolm
On Thu, 2012-03-29 at 11:10 +0100, mark florisson wrote: Thanks for CCing me; various comments inline below throughout. > On 29 March 2012 04:28, Dag Sverre Seljebotn > wrote: > > On 03/28/2012 07:58 PM, Philip Herron wrote: > >> > >> Hey all > >> > >> I am implemented a very crude and simplist

Re: [Cython] Gsoc project

2012-03-29 Thread Chris Colbert
Are you all aware of CWrap? It goes a long way to generating pxd files for a C libary. It can, for example, generate valid pxd files for the whole of the Intel IPP library. This would likely be a good launching point for a GSOC project, unless you really want to start from scratch. https://github

Re: [Cython] Gsoc project

2012-03-29 Thread mark florisson
On 29 March 2012 04:28, Dag Sverre Seljebotn wrote: > On 03/28/2012 07:58 PM, Philip Herron wrote: >> >> Hey all >> >> I am implemented a very crude and simplistic and very badly programmed >> version of a pxd generator i think i understand what were after now >> but i would appreciate if you look

Re: [Cython] Gsoc project

2012-03-28 Thread Stefan Behnel
Dag Sverre Seljebotn, 29.03.2012 05:28: > On 03/28/2012 07:58 PM, Philip Herron wrote: >> I am implemented a very crude and simplistic and very badly programmed >> version of a pxd generator i think i understand what were after now >> but i would appreciate if you look over what i did to make sure

Re: [Cython] Gsoc project

2012-03-28 Thread Dag Sverre Seljebotn
On 03/28/2012 07:58 PM, Philip Herron wrote: Hey all I am implemented a very crude and simplistic and very badly programmed version of a pxd generator i think i understand what were after now but i would appreciate if you look over what i did to make sure i have grasped the basic idea for now:

Re: [Cython] Gsoc project

2012-03-28 Thread Philip Herron
Hey all I am implemented a very crude and simplistic and very badly programmed version of a pxd generator i think i understand what were after now but i would appreciate if you look over what i did to make sure i have grasped the basic idea for now: So if i have: #include "test.h" int add (int

Re: [Cython] Gsoc project

2012-03-28 Thread Robert Bradshaw
On Tue, Mar 27, 2012 at 8:05 PM, Dag Sverre Seljebotn wrote: > On 03/27/2012 02:17 PM, Philip Herron wrote: >> >> Hey >> >> I got linked to your idea >> >> http://groups.google.com/group/cython-users/browse_thread/thread/cb8aa58083173b97/cac3cf12d438b122?show_docid=cac3cf12d438b122&pli=1 >> by Dav

Re: [Cython] Gsoc project

2012-03-28 Thread Robert Bradshaw
On Wed, Mar 28, 2012 at 12:52 AM, Stefan Behnel wrote: > Stefan Behnel, 28.03.2012 09:20: >> Dag Sverre Seljebotn, 28.03.2012 05:05: >>>  - Very often one is not interested in the full header file. One really >>> wants "the API", not a translation of the C header. This probably requires >>> a) som

Re: [Cython] Gsoc project

2012-03-28 Thread Stefan Behnel
Stefan Behnel, 28.03.2012 09:20: > Dag Sverre Seljebotn, 28.03.2012 05:05: >> - Very often one is not interested in the full header file. One really >> wants "the API", not a translation of the C header. This probably requires >> a) some heuristics, and b) the possibility for, as easily as possibl

Re: [Cython] Gsoc project

2012-03-28 Thread Stefan Behnel
Dag Sverre Seljebotn, 28.03.2012 05:05: > - Very often one is not interested in the full header file. One really > wants "the API", not a translation of the C header. This probably requires > a) some heuristics, and b) the possibility for, as easily as possible, > write some selectors/configuratio

Re: [Cython] Gsoc project

2012-03-27 Thread Dag Sverre Seljebotn
On 03/27/2012 08:05 PM, Dag Sverre Seljebotn wrote: On 03/27/2012 02:17 PM, Philip Herron wrote: Hey I got linked to your idea http://groups.google.com/group/cython-users/browse_thread/thread/cb8aa58083173b97/cac3cf12d438b122?show_docid=cac3cf12d438b122&pli=1 by David Malcolm on his plugin mai

Re: [Cython] Gsoc project

2012-03-27 Thread Dag Sverre Seljebotn
On 03/27/2012 02:17 PM, Philip Herron wrote: Hey I got linked to your idea http://groups.google.com/group/cython-users/browse_thread/thread/cb8aa58083173b97/cac3cf12d438b122?show_docid=cac3cf12d438b122&pli=1 by David Malcolm on his plugin mailing list. I am looking to apply to Gsoc once again t

[Cython] Gsoc project

2012-03-27 Thread Philip Herron
Hey I got linked to your idea http://groups.google.com/group/cython-users/browse_thread/thread/cb8aa58083173b97/cac3cf12d438b122?show_docid=cac3cf12d438b122&pli=1 by David Malcolm on his plugin mailing list. I am looking to apply to Gsoc once again this year i have done gsoc 2010 and 2011 on GCC