Browse thread
[Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)
-
Nicolas Pouillard
- Martin Jambon
- Dmitry Bely
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-04-01 (11:46) |
From: | Dmitry Bely <dmitry.bely@g...> |
Subject: | Re: [Caml-list] [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$) |
On 3/26/07, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote: > On 3/24/07, Martin Jambon <martin.jambon@ens-lyon.org> wrote: > > > > I would like you or anyone knowledgeable to translate one significant > > syntax extension. You know, some kind of Rosetta stone. You can take > > Markus' sexp syntax extension or ioxml if you prefer, it won't be much > > different. > > Here is your rosetta stone :) > > I translated pa_json_static.ml. For me it compiles but does not work: D:\Work\Camlp4test>ocamlc -pp camlp4orf -I +camlp4 -c pa_json_static.ml D:\Work\Camlp4test>camlp4 pa_json_static.cmo -parser OCaml -printer OCaml test.ml No level labelled "top" in entry "str_item" Failure: "Grammar.extend" (latest CVS with release310 tag) BTW, have anyone tried to translate pa_IoXML? It thought I would look into pa_json_static changes and do the same for IoXML, but in fact it's quite hard, at least for me... - Dmitry Bely