From: "Dmitry Bely" <dmitry.bely@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] [Camlp4 3.10] The rosetta stone (Was: lists without $list:...$)
Date: Sun, 1 Apr 2007 15:46:20 +0400 [thread overview]
Message-ID: <90823c940704010446v49be2523lac71be8c1ee2a47@mail.gmail.com> (raw)
In-Reply-To: <cd67f63a0703251347p5443fe4cj8c07f836ef232c6b@mail.gmail.com>
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
next prev parent reply other threads:[~2007-04-01 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 20:47 Nicolas Pouillard
2007-04-01 8:04 ` Martin Jambon
2007-04-01 11:46 ` Dmitry Bely [this message]
2007-04-01 17:24 ` [Caml-list] " Nicolas Pouillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=90823c940704010446v49be2523lac71be8c1ee2a47@mail.gmail.com \
--to=dmitry.bely@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox