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 OAA00835; Wed, 30 Oct 2002 14:06:16 +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 OAA00865 for ; Wed, 30 Oct 2002 14:06:15 +0100 (MET) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9UD6ED04937 for ; Wed, 30 Oct 2002 14:06:14 +0100 (MET) Received: from fichte.ai.univie.ac.at (markus@localhost [127.0.0.1]) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian -4) with ESMTP id g9UD68EI010795; Wed, 30 Oct 2002 14:06:08 +0100 Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.12.3/8.12.3/Debian -4) id g9UD67UL010794; Wed, 30 Oct 2002 14:06:07 +0100 Date: Wed, 30 Oct 2002 14:06:07 +0100 From: Markus Mottl To: Issac Trotts Cc: OCaml Mailing List Subject: Re: [Caml-list] revised syntax vim file Message-ID: <20021030130607.GB9305@fichte.ai.univie.ac.at> Mail-Followup-To: Issac Trotts , OCaml Mailing List References: <20021030104917.GA18771@beech> <20021030112122.GA13090@lordsoth.takhisis.org> <20021030113424.GB19224@beech> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021030113424.GB19224@beech> User-Agent: Mutt/1.4i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 30 Oct 2002, Issac Trotts wrote: > There is still the issue of how to make it co-exist with the > standard OCaml syntax. This is best solved using variables ("ocaml_revised"). > Probably searching for the regular > expressions > > ^value > do { > > in a .ml or .mli file would be enough to tell which syntax to > use. Is there a convention of having some other suffix for > revised syntax filenames? I am not sure about the best way to identify the correct filetype. Other suffices would be most helpful, then followed by a comment in the topmost line to indicate the use of revised syntax. The most complicated solution would involve scanning the file for keywords. I'd discourage this option. Please mail me directly for further suggestions! Best regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- 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