dear-imgui.hs
dear-imgui.hs copied to clipboard
Move to cimgui
https://github.com/cimgui/cimgui
This may, or may not, alleviate our extension pains.
are you thinking of replacing the Raw.hs with c2hs? Or using the generated .json-output (or similar) to generate the Raw.hs-file?
cimgui
has the JSON dumps of its API.
I just had a look at them, and they have the original C++ stuff too :thinking:
That's what i meant after i looked at them. I think their route is: Parse C++ into json/lua, then use that to create the C-bindings.
2 ways to use this: throw c2hs onto the generated C-Code or use their json to generate Haskell-code with a homebrew-generator & more control.
A new promising alternative: https://github.com/dearimgui/dear_bindings#differences-with-cimgui