Re: hacks using camlp4

From: Daniel de Rauglaudre (daniel.de_rauglaudre@inria.fr)
Date: Tue Dec 02 1997 - 22:06:47 MET


Message-Id: <199712022106.WAA02848@jaune.inria.fr>
Subject: Re: hacks using camlp4
In-Reply-To: <34843F79.15C2@dassault-aviation.fr> from Thierry Bravier at "Dec 2, 97 06:03:53 pm"
To: thierry.bravier@dassault-aviation.fr (Thierry Bravier)
Date: Tue, 2 Dec 1997 22:06:47 +0100 (MET)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>

Interesting, your constant folding code.

> In this precise case, the smart [partial.ml] module presented by
> Daniel de Rauglaudre is too powerful, since there is no need to
> store folded values in global variables, folded values are put in
> new literals instead.

Yes, my implementation was to globalize
        Str.regexp "..."
which cannot be written as a literal.

--------------------------------------------------------------------------
 Daniel de RAUGLAUDRE

 Projet Cristal - INRIA Rocquencourt
 Tel: +33 (01) 39 63 53 51
 Email: daniel.de_rauglaudre@inria.fr
 Web: http://pauillac.inria.fr/~ddr/
--------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:13 MET