This change isn't really part of that transition, but that transition will likely be necessary. My sense is that the right thing is to rewrite the syntax extensions using extension points, and then write a shim camlp4 extension that converts "with sexp" to the correct annotation. That said, this is a long and tricky process that won't happen immediately on 4.02's release. On Jun 18, 2014 3:35 AM, "François Bobot" wrote: > Hi, > > Thank you for this new release of all these great libraries. > > On 17/06/2014 18:43, Ben Millwood wrote: > > ## sexplib > > > > - Make the camlp4 dependency optional > > Is it linked to a path toward extension points (4.02)? It is mentionned[1] > that the syntax will > changed, from: > > type t = int * string with sexp > > to: > > type t = int * string [@@sexp] . > > But is there some plan for a version of type-conv and sexp/bin-prot/... > that will accept the new > syntax with camlp4 for old compiler and without camlp4 but with extension > point for new one? > > Thanks, > > > [1] > https://blogs.janestreet.com/extension-points-or-how-ocaml-is-becoming-more-like-lisp/ > > -- > François Bobot > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >