I wrote languages/lua/src/lib/gl.pir & glut.pir over runtime/parrot/library/OpenGL.pir.
I obtain some success : $ ./parrot languages/lua/lua.pbc languages/lua/demo/triangles.lua run properly.But the wrapper for Lua is currently incomplete. And I am not happy with this way of doing, too many PIR hand written.
So I'll experiment another way in a branch opengl4lua. I want write a part (arguments checking & conversion) of the wrapper in Lua. François.