You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It feels that one thing which is lacking in this project is an actual example app/framework for using the JSON output and creating a backend out of it.
It'd be interesting an interesting experiment to confirm confirm that cimgui.h could be regenerated exactly the same from the JSON output.
Ideally that example may be a defactor framework to start working from to create other bindings.
In such scenario, for clarity I imagine the folder structure might be reworked, e.g. examples_app/ vs examples_binding_generator/.
The text was updated successfully, but these errors were encountered:
Yeah, I like that idea. I'd been wondering about doing a C# wrapper as an experiment (and because I occasionally find myself wanting one), so that might make a good test-case.
In case it is useful as a reference, here's a bindings generator that I've written for Odin: https://gitlab.com/L-4/odin-imgui
It's reasonably fully featured, and supports both docking and master. This project has been extremely useful!
In particular you may be interested in gen_odin.py and imgui/imgui.odin.
I can say from experience that we're still a bit away from being able to reconstruct cimgui.h char for char, in particular I've had to reimplement comment alignment, which obviously then isn't the same as in the source.
It feels that one thing which is lacking in this project is an actual example app/framework for using the JSON output and creating a backend out of it.
It'd be interesting an interesting experiment to confirm confirm that cimgui.h could be regenerated exactly the same from the JSON output.
Ideally that example may be a defactor framework to start working from to create other bindings.
In such scenario, for clarity I imagine the folder structure might be reworked, e.g.
examples_app/
vsexamples_binding_generator/
.The text was updated successfully, but these errors were encountered: