Re: For anyone interested in OpenGL
"lcluke" <[email protected]> Tue, 13 May 2003 00:03:27 -0000
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], John Pallister <john@s...> wrote: > FWIW, I have a modified version of the C header parser that can do struct > member alignment, and a few other things (multidimensional arrays, > stripping a prefix from identifiers, sticking '+'s around constants etc.). Hooray :) I think it's time to run the SDL header files through your updated parser. The more automated the conversion process is, the easier it is to maintain. (I believe you sent me the URL to your parser previously - I must confess that I downloaded the parser but had put off looking at it until I started working on the FFI definitions again. I'll start the process within the next couple of days.) As a matter of interest, has anyone ever looked at SWIG? http://www.swig.org/ It handles the front-end parsing for a whole bunch of languages, it just requires a custom backend to spit out the definitions for additional languages. It even handles the conversion of entire c/c++ functions to the target language. -Luke ------------------------ Yahoo! Groups Sponsor ---------------------~--> Rent DVDs from home. Over 14,500 titles. Free Shipping & No Late Fees. Try Netflix for FREE! http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/