problems in the Nim backend that I encountered.
What I fond so far when I ported over to GLAD is the following

there is no `GL_VERTEX_ARRAY`, I need it for `glObjectLabel`.

I used these arguments: `--profile="core" --api="gl=4.5" --generator="nim" --spec="gl" --extensions=""`.

It would have been nice, if you would have suggested to use SDL_GL_GetProcAddress for the load function. 

For now the first example is "ported" to work with with glad. And it works flawlessly. Thanks for making glad.
