ocaml_python_bindgen icon indicating copy to clipboard operation
ocaml_python_bindgen copied to clipboard

Generate Python bindings via pyml from OCaml value specifications

Results 5 ocaml_python_bindgen issues
Sort by recently updated
recently updated
newest added

Just an idea. Currently, I have one python file that I write to interface w/ ocaml (let's call it itf.py). I.e. the ocaml side only calls functions defined in this...

It would be nice if people don't have to put this penultimate unit at the end of a function declaration (in the *_specs.txt file). Once you are in ocaml, having...

When one is missing the penultimate unit parameter in the *_specs.txt file, this is the error message to get. There could be a more helpful message, or at least that...

So this is sort of a subtly weird thing that can trip you up if you're not careful. Say you have a python fun like this: ```python def say_hi(self, to_whom=None,...

If you generate with the option `--associated-with module` then the resulting OCaml module shouldn't need a `type t` or the `of_pyo` and `to_pyo` functions. But currently they are generated. Look...