A high-level GLFW 3 wrapper for Nimrod.
This example displays a window for one second and then terminates:
import
pure/os,
glfw/glfw
glfw.init()
var
wnd = newWnd()
sleep(1000)
wnd.destroy()
glfw.terminate()
To run the examples, simply invoke the compiler as such from the examples directory:
nimrod c -r <module>
Currently no documentation exists, but a convenient symbol list can be generated simply by invoking this from the root directory:
nimrod doc2 lib/glfw/glfw.nim