Jun

Hacks‎ > ‎

( ゚∀゚)o彡°O'PyCaml

It's a resurrection of PyCaml. It's a SERIOUS project. Not a joke.

Why?

PyCaml by arty@users.sourceforge.net is a great library, but it has problems:

  • Not really maintained for long. Its "maintenance" is done by Linux distribution package maintainers, but it is just to fix it compilable with the latest OCaml compiler.
  • It has lots of bugs, unfortunately.
  • Users easily crash program using PyCaml, using pyobject values in a wrong way.
  • Design is somewhat out-of-date.
( ゚∀゚)o彡°O'PyCaml is going to reimplement the features of PyCaml from scratch.

Features

  • Modern : Python/C API functions are sorted into modules which match with the modern OCaml programming style e.g. PyDict_GetItem => Dict.getItem
  • Extensible : Functions can be added easily using CamlIDL + Perl script hacks
  • More type safe : Python objects are more typeful e.g. _Dict t for dictionaries and _Int t for intergers. They enjoy static type-checking of python class hierarchy by OCaml's poylvariant sub-typing.
  • Easy to use : Findlib + OMake friendly

Download

There is no release yet. The latest source is available at http://bitbucket.org/camlspotter/opycaml .

Recent site activity

Contact

mail: com.gmail@furuse.jun
Rewrite : A.B@C.D => D.C@B.A