« Return to Thread: [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)

Re: [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)

by Martin Jambon-6 :: Rate this Message:

Reply to Author | View in Thread

On Sun, 25 Mar 2007, Nicolas Pouillard wrote:

> Here is your rosetta stone :)
>
> I translated pa_json_static.ml.

Thanks a lot.

I backported it to camlp4 3.10.0+beta. Compiling the extension and
using it to preprocess a sample file now work fine (but I haven't tested
the correctness of the generated code).

The few things that didn't want to work with 3.10.0+beta were commented
out and replaced by workarounds.

People interested in upgrading their syntax extensions can read the
side-by-side diffs:

   http://martin.jambon.free.fr/examples/pa_json_static_3100beta.html


Martin

--
Martin Jambon
http://martin.jambon.free.fr

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

 « Return to Thread: [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)