The OCaml bindings to the GObject-Introspection library based on Ctypes.
Two ideas to explore:
-
Create a generic Ctypes bindings generator, based on ocaml-gobject-introspection, for the GNOME libraries : https://github.com/cedlemo/OCaml-GI-ctypes-bindings-generator
-
Create a generic FFI bindings generator for bucklescript in order to be able to use the javascript bindings to the GNOME libraries. (I am not sure if it is faisable).
https://cedlemo.github.io/OCaml-GObject-Introspection/
https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#introduction