Hello!
it’s my pleasure to announce a (very) preliminary version of OCaml-sdl3 (or simply sdl3 for the package name), which obviously is a set of bindings for the SDL3 library.
Why announcing a preliminary version? First, because I won’t have much time to work on it in the next couple of months, and second, because I believe you can already have fun with it!
The bindings are generated by a program that uses clang to inspect the SDL code. This is a first phase; not all functions are usable yet. I have started to write manual wrappers for a few of them. (See the examples).
AI disclaimer: Although I have to admit chatGPT was my friend for understanding how to use clang and ctypes, I would like to state here that the whole binding generator (plus all manual additions, of course) was entirely written by (my) hand.