From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id GAA25783; Thu, 7 Feb 2002 06:25:57 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id GAA22057 for ; Thu, 7 Feb 2002 06:25:57 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g175Puv01893 for ; Thu, 7 Feb 2002 06:25:56 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id GAA19429 for caml-list@inria.fr; Thu, 7 Feb 2002 06:25:56 +0100 Date: Thu, 7 Feb 2002 06:25:56 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Camlp4 "vs" JSE Message-ID: <20020207062556.C19296@verdot.inria.fr> References: <8E31D6933A2FE64F8AE3CC1381EEDCE7232D99@NT.kal.com> <8E31D6933A2FE64F8AE3CC1381EEDCE7232D99@NT.kal.com> <20020206155900.J31521@verdot.inria.fr> <4.3.2.7.2.20020206141341.00cd4100@arda.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.3.2.7.2.20020206141341.00cd4100@arda.pair.com>; from checker@d6.com on Wed, Feb 06, 2002 at 02:14:13PM -0800 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Wed, Feb 06, 2002 at 02:14:13PM -0800, Chris Hecker wrote: > What does that mean, "can't guarantee parseability?" I wondered that also but I think they meant that their preprocessor can treat even non parsable input. For exemple, in C, if your input is: /* main () { printf("hello, world"); } It is not parsable since the comment does not end, but if your preprocessor is: sed -e 's|/\*||' Which removes the initial /*, the C compiler can parse. Camlp4 is a preprocessor which parses, respecting a "grammar" (it's why they say "grammar-based"), what sed or /lib/cpp don't really do: they just look at what is interesting for them, even if the rest is not correct C. Well, it is the way I interpreted what they said. -- 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