I’ve packaged up the basic libraries described last time and you can get them here, together with a little example.
It should work on any platform / toolchain where OCaml and Python and WxPython can be installed. It allows you to build standalone windows exes and mac applications out of the box.
As I mentioned before, this is just a proof of concept. I have no intention of writing a generic GUI library for my renderer, instead sticking with the specialised one I’m using already.
That means I’m using a different (specialised) wxgui.ml and main.ml and main.py, but the same mltalk.py, pytalk.ml, camlpy.ml and pycaml.py — and I’ll only be keeping those basic four files up to date.
I’ve put it under the BSD license, so have fun.