On 15-Aug-14 08:53, Stephen Leake wrote: > Shark8 writes: > >> On 13-Aug-14 17:23, pincerfae@gmail.com wrote: >>> ada seems well-suited for use with OpenGL, imho... >> >> I think what's needed is a good, automated parser/code-generator for >> the gl-spec files. > > gnat provides one; gcc -fdump-ada-spec > > That provides a known correct thin binding. Most of the discussion here > has been about how to structure an appropriate thick binding. > No, I don't mean the C-headers. I mean the spec files. (See attached.) Well, it looks like the .spec files are being deprecated and they're moving to an XML-based format: http://www.opengl.org/registry/ [search ".spec"] -- but that doesn't invalidate my assertion that we ought to generate code automatically from the specifications [even if they're now in XML], not crappy C-headers for implementing the specs.