dear-imgui.hs icon indicating copy to clipboard operation
dear-imgui.hs copied to clipboard

Move to cimgui

Open dpwiz opened this issue 2 years ago • 4 comments

https://github.com/cimgui/cimgui

This may, or may not, alleviate our extension pains.

dpwiz avatar Apr 03 '22 06:04 dpwiz

are you thinking of replacing the Raw.hs with c2hs? Or using the generated .json-output (or similar) to generate the Raw.hs-file?

Drezil avatar Jul 21 '22 23:07 Drezil

cimgui has the JSON dumps of its API.

I just had a look at them, and they have the original C++ stuff too :thinking:

dpwiz avatar Jul 22 '22 14:07 dpwiz

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.

Drezil avatar Jul 22 '22 18:07 Drezil

A new promising alternative: https://github.com/dearimgui/dear_bindings#differences-with-cimgui

dpwiz avatar Nov 23 '22 16:11 dpwiz