* [Caml-list] Stream parser in 3.03alpha ... ? <-> ??
@ 2001-11-29 2:17 Christophe Raffalli
2001-11-29 10:39 ` Diego Olivier Fernandez Pons
0 siblings, 1 reply; 3+ messages in thread
From: Christophe Raffalli @ 2001-11-29 2:17 UTC (permalink / raw)
To: caml-list
I just noticed something is missing in the Upgrading file for ocaml-3.03:
II Non-label changes
Q2: I get a syntax error when I try to compile a program using stream
parsers.
A2: Stream parser now require camlp4. It is included in the
distribution, and you just need to use "ocamlc -pp camlp4o" in
place of "ocamlc".
Q2': I still get a syntax error when I try to compile a program using stream
parsers.
A2': Hops, we did come back to a single question mark (? instead of ??) for
error management in stream parser.
So the story is
ocaml < 2.99 = a single question mark
ocaml >= 2.99 < 3.03 two question marks
ocaml >= 3.03 a single question mark
PLEASE stay with two question marks because maintening OCaml software so that
they compile with many versions will become a nightmare soon :-(
--
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex
tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Stream parser in 3.03alpha ... ? <-> ??
2001-11-29 2:17 [Caml-list] Stream parser in 3.03alpha ... ? <-> ?? Christophe Raffalli
@ 2001-11-29 10:39 ` Diego Olivier Fernandez Pons
2001-11-29 22:56 ` Daniel de Rauglaudre
0 siblings, 1 reply; 3+ messages in thread
From: Diego Olivier Fernandez Pons @ 2001-11-29 10:39 UTC (permalink / raw)
To: Christophe Raffalli; +Cc: Caml
Christophe Raffalli à écrit :
< PLEASE stay with two quetion marks because maintening OCaml software
< so that they compile with many versions will become a nightmare soon
< :-(
Dans quelle mesure pourrait servir le CamlP4 à maintenir la
compatibilité entre les différentes versions du compilateur ?
Could CamlP4 be used to maintain the compatibility between the Caml
compilers ?
Diego Olivier
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Stream parser in 3.03alpha ... ? <-> ??
2001-11-29 10:39 ` Diego Olivier Fernandez Pons
@ 2001-11-29 22:56 ` Daniel de Rauglaudre
0 siblings, 0 replies; 3+ messages in thread
From: Daniel de Rauglaudre @ 2001-11-29 22:56 UTC (permalink / raw)
To: Caml
Hi,
On Thu, Nov 29, 2001 at 11:39:51AM +0100, Diego Olivier Fernandez Pons wrote:
> Christophe Raffalli à écrit :
>
> < PLEASE stay with two quetion marks because maintening OCaml software
> < so that they compile with many versions will become a nightmare soon
> < :-(
>
> Could CamlP4 be used to maintain the compatibility between the Caml
> compilers ?
Actually, this "?" instead of "??" was a bug in Camlp4: I had
forgotten to change it in Camlp4 when it had been changed in OCaml
yacc parser. I fixed it in the current version.
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-29 22:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-29 2:17 [Caml-list] Stream parser in 3.03alpha ... ? <-> ?? Christophe Raffalli
2001-11-29 10:39 ` Diego Olivier Fernandez Pons
2001-11-29 22:56 ` Daniel de Rauglaudre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox