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 PAA18003; Tue, 4 Nov 2003 15:54:26 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA17925 for ; Tue, 4 Nov 2003 15:54:25 +0100 (MET) Received: from megs23.100mwh.com ([205.214.86.13]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hA4EsO120891 for ; Tue, 4 Nov 2003 15:54:24 +0100 (MET) Received: from [205.214.86.158] (helo=uaapc442) by megs23.100mwh.com with asmtp (Exim 4.24) id 1AH2ZW-0007Ai-I1 for caml-list@inria.fr; Tue, 04 Nov 2003 07:54:19 -0700 Subject: Re: [Caml-list] Right way to determine used syntax ( camlp4 ) References: <200311041559.54268.Dmitry.Lomov@intellij.com> Message-ID: To: caml-list@inria.fr From: Artem Prisyznuk Content-Type: text/plain; format=flowed; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 04 Nov 2003 16:54:45 +0200 In-Reply-To: User-Agent: Opera7.21/Win32 M2 build 3218 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - megs23.100mwh.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sit.kiev.ua X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 camlp:01 artem:01 lomov:01 lomov:01 intellij:01 artem:01 dmitry:01 dmitry:01 nov:01 syntax:02 syntax:02 compile:02 0300,:02 module:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 4 Nov 2003 15:59:53 +0300, Dmitry Lomov wrote: > Hi, > > I believe the best way is to have two separate syntax extension files, > and then just supply the right one (either for normal or > "revised" syntax) at compile time. Module has ~400 lines. Revised and normal verison differ in three lines. So I think make and maintance two different version no have sense. > What you propose has a strong hackish smell :) I smell it. Because I ask question. :-) -- Artem Prysyznuk tema@sit.kiev.ua ------------------- 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