Browse thread
[Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)
-
Nicolas Pouillard
- Martin Jambon
-
Dmitry Bely
- Nicolas Pouillard
[
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: | -- (:) |
| From: | Nicolas Pouillard <nicolas.pouillard@g...> |
| Subject: | Re: [Caml-list] [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$) |
On 4/1/07, Dmitry Bely <dmitry.bely@gmail.com> wrote: > 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" Wrong order for loaded modules.... camlp4 -parser OCaml pa_json_static.cmo -printer OCaml test.ml or shorter: camlp4 -parser o pa_json_static.cmo -printer o test.ml or event shorter: camlp4o pa_json_static.cmo -printer o test.ml -- Nicolas Pouillard