caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Matthieu Wipliez" <mwipliez@yahoo.fr>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] beta-test of OCaml 3.10.0: compiling on Windows, trying the new Camlp4
Date: Sat, 24 Mar 2007 16:40:56 +0100	[thread overview]
Message-ID: <cd67f63a0703240840qf4b08a0sa2f1ddb602b94a43@mail.gmail.com> (raw)
In-Reply-To: <650869.47988.qm@web27006.mail.ukl.yahoo.com>

On 3/23/07, Matthieu Wipliez <mwipliez@yahoo.fr> wrote:
>
> Hello,
Hello,

[...]

>
> After compilation/installation, I tested this new version, compiling with
> "ocamlc.opt -pp camlp4o.opt". Is it still the right way to preprocess with
> Camlp4 ?

If you want to use the original syntax, yes.

> Anyway, here's what I obtain:
>   - in a class, "method private virtual" is not accepted anymore, the order
> has to be "method virtual private".

It was a bug in the new camlp4 (fixed in CVS).

>   - assert MySet.is_empty set; is not accepted anymore either, I have to add
> brackets: assert (MySet.is_empty set);

Assuming you want the original syntax, then it was a bug to accept it
since ocamlc also requires parentheses.

>   - compiling a file containing this kind of comment (* <<<< COMMENT *)
> fails with "Quotation not terminated".

That's not a bug that's a feature like strings, quotations are read by
the lexer.
However if you don't use quotation in your source file you can give
the  -no_quot option to camlp4.

>   - in a .mli, declaring an empty module ABC, with "module type ABC" does
> not work (but does without preprocessing).

I missed that feature (now fixed in CVS too).

> I used the version from
> http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.0+beta.tar.gz,
> so maybe some things have been corrected since.

Yes, try the CVS (-r release310).

The new changes will be propagated in a few hours.

-- 
Nicolas Pouillard


  reply	other threads:[~2007-03-24 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23 17:28 Matthieu Wipliez
2007-03-24 15:40 ` Nicolas Pouillard [this message]
2007-03-23 17:44 [Caml-list] beta-test of OCaml 3.10.0: compiling on Windows,trying " EL CHAAR Rabih   SGAM/AI/SAM
2007-03-23 18:36 ` [Caml-list] beta-test of OCaml 3.10.0: compiling on Windows, trying " Jean-Marc EBER

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=cd67f63a0703240840qf4b08a0sa2f1ddb602b94a43@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=mwipliez@yahoo.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;
as well as URLs for NNTP newsgroup(s).