Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to cimgui #146

Open
dpwiz opened this issue Apr 3, 2022 · 4 comments
Open

Move to cimgui #146

dpwiz opened this issue Apr 3, 2022 · 4 comments
Labels
packaging upstream Something concerning upstream dependencies
Milestone

Comments

@dpwiz
Copy link
Member

dpwiz commented Apr 3, 2022

https://github.com/cimgui/cimgui

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

@dpwiz dpwiz added packaging upstream Something concerning upstream dependencies labels Apr 3, 2022
@Drezil
Copy link
Contributor

Drezil commented Jul 21, 2022

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

@dpwiz
Copy link
Member Author

dpwiz commented Jul 22, 2022

cimgui has the JSON dumps of its API.

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

@Drezil
Copy link
Contributor

Drezil commented Jul 22, 2022

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.

@dpwiz dpwiz added this to the v3 milestone Jul 25, 2022
@dpwiz
Copy link
Member Author

dpwiz commented Nov 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging upstream Something concerning upstream dependencies
Projects
None yet
Development

No branches or pull requests

2 participants