On Monday, 25 March 2019 16:00:54 CET Richard W.M. Jones wrote: > If we pushed the baseline of OCaml up by (I think) just a single > version then most of this code could be generated automatically from > the description in the Types module. It would rely on the "new" > (actually rather old) feature called extension points (ppx) which I > think was added in 4.02.
I can check whether it is feasible. Note it is not always a 1:1 mapping, in some cases the JSON represents the data better than the various structs. I'll send v2 of this series with the fixes for patches #1/#2, and rebased on master. -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs