[zeromq-dev] [zproject] mkapi.py: Generate API model from header

Pieter Hintjens ph at imatix.com
Sun Dec 20 15:22:10 CET 2015

This is neat. Have you tried it on other projects? There are still a
couple of classes in CZMQ that aren't covered by zproject models
(zrex, zlistx, zdigest, zclock). Might be good test cases.

Also, if you want to move this inside zproject feel free to do that.


On Sun, Dec 20, 2015 at 2:17 PM, Michal Vyskocil
<michal.vyskocil at gmail.com> wrote:
> Hi,
> I wrote a simple tool, which generates zproject API model from
> declarations in header files.
> https://github.com/vyskocilm/mkapi
> My idea is there are more developers willing to learn CLASS and write
> C declarations than those who will learn zproject API model. So having
> API model generated can lower the barrier for developers.
> I used on czmq header files, where it seems the tools works pretty
> well. I have omited to support polymorphic type (tests consider it as
> singleton) and maybe there are smaller bugs related to type mappings.
> But in general it works pretty well.
> --
> best regards
>      Michal Vyskocil
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list