Is there some standard C code “hiding somewhere” to extract .spec info? Some of the .spec files refer to something called libspec. I found some code for that in the old SGI Sample Implementation, but I haven’t found any modern supported equivalent. Is Khronos sitting on something like that? Is it available somewhere and I just haven’t found it?
There are of course various libraries like glew, glfw, gl3w, glload, etc. They all do the same underlying job differently. My main interest is I’m trying to implement a programming language. It will need a C FFI and so extracting the OpenGL function signatures etc. is useful.