[WIP] Add static generator

Close #163
Cool, thanks for the explanation. Could you add this as a caveat then? ie. something like, "It is not recommended that you use this generator for OpenGL unless you know exactly what functions are supported by your target platform."