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 SAA17192; Tue, 8 Apr 2003 18:21:38 +0200 (MET DST) 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 SAA17221 for ; Tue, 8 Apr 2003 18:21:37 +0200 (MET DST) Received: from mailhost.trusted-logic.fr (mailhost.trusted-logic.fr [194.250.150.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h38GLaX25871 for ; Tue, 8 Apr 2003 18:21:36 +0200 (MET DST) Received: from ouessant.trusted-logic.fr (ouessant.trusted-logic.fr [192.168.1.201]) by mailhost.trusted-logic.fr (Postfix) with ESMTP id A1EFAF8198; Tue, 8 Apr 2003 18:21:35 +0200 (CEST) Received: (from lacas@localhost) by ouessant.trusted-logic.fr (8.9.3/8.9.3) id SAA07835; Tue, 8 Apr 2003 18:21:35 +0200 Date: Tue, 8 Apr 2003 18:21:35 +0200 From: Samuel Lacas To: Nickolay Semyonov-Kolchin Cc: caml-list@inria.fr Subject: Re: [Caml-list] single-line comment request Message-ID: <20030408182135.C3382@ouessant.trusted-logic.fr> References: <200304081756.05304.snob@snob.spb.ru> <20030408171708.A3382@ouessant.trusted-logic.fr> <200304081927.53035.snob@snob.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre3us In-Reply-To: <200304081927.53035.snob@snob.spb.ru> X-Send-From: ouessant.trusted-logic.fr X-Operating-System: Linux ouessant.trusted-logic.fr 2.2.19 X-Spam: no; 0.00; samuel:01 lacas:01 caml-list:01 nickolay:01 camlp:01 implemented:01 redefining:01 jal:99 ecrit:01 caml:01 syntax:02 parser:02 08,:03 newline:07 i'm:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Nickolay Semyonov-Kolchin a écrit 1.0K le Tue, Apr 08, 2003 at 07:27:53PM +0500: # I have no camlp4 knowledge. If this can be implemented this way, I will be # happy. Are you sure that this can be done in Camlp4? Well, after looking a little bit, I'm not sure, at least without a significant amount of work (i.e. redefining the whole syntax, as one-line comment may appear everywhere). After all, the caml parser does not seem to consider newline characters differently than spaces (true?), which could prove to be there a strong limitation. Otchien jal... Da zvidania, sL ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners