From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 24510BC0B for ; Wed, 29 Nov 2006 02:48:48 +0100 (CET) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id kAT1ml15017740 for ; Wed, 29 Nov 2006 02:48:47 +0100 Received: from db2.internal (db2.internal [10.202.2.12]) by out1.messagingengine.com (Postfix) with ESMTP id A1382492E1; Tue, 28 Nov 2006 20:48:19 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by db2.internal (MEProxy); Tue, 28 Nov 2006 20:48:19 -0500 X-Sasl-enc: a27iu6PnjZl9CnXe8OX4LgP3ZPYq6Bnhyn3XC+5hcFNk 1164764899 Received: from adsl-75-22-170-172.dsl.sndg02.sbcglobal.net (adsl-75-22-170-172.dsl.sndg02.sbcglobal.net [75.22.170.172]) by mail.messagingengine.com (Postfix) with ESMTP id 96AB318DAE; Tue, 28 Nov 2006 20:48:17 -0500 (EST) Date: Tue, 28 Nov 2006 17:48:10 -0800 (PST) From: Martin Jambon X-X-Sender: martin@droopy To: Philippe Wang Cc: caml-list@inria.fr Subject: Re: [Caml-list] About the O'Reilly book on the web In-Reply-To: <456CD1E7.80908@philippewang.info> Message-ID: References: <45688DAE.7010309@ccr.jussieu.fr> <456AAABE.5020405@irisa.fr> <456CA3B7.1020508@philippewang.info> <9d3ec8300611281433q5509ccby65937fd4384f5a25@mail.gmail.com> <456CD1E7.80908@philippewang.info> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-810281450-1164764881=:2494" Content-ID: X-j-chkmail-Score: MSGID : 456CE6FF.000 on concorde : j-chkmail score : XXXX : 0/20 4 X-Miltered: at concorde with ID 456CE6FF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; o'reilly:01 readable:01 unreadable:01 mime-aware:01 backslash:01 ocaml:01 syntax:01 regexps:01 syntax:01 ocamllex:01 ocamllex:01 regexps:01 pcre:01 ocaml:01 ocaml's:01 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-810281450-1164764881=:2494 Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Wed, 29 Nov 2006, Philippe Wang wrote: > Martin Jambon a écrit : > >> You should definitely have a look at micmatch. It's backslash free! >> >> main page: http://martin.jambon.free.fr/micmatch.html >> tutorial: http://martin.jambon.free.fr/micmatch-howto.html >> reference: http://martin.jambon.free.fr/micmatch-manual.html > > But isn't that making things "different again"? You can't make things better without making them different. OCaml is about being better, and so is the syntax I chose for regexps. It is fully compatible with the syntax used by ocamllex, and I must say ocamllex regexps are incredibly easy to learn and to use. I never had any problem with them. In comparison Str or PCRE regexps are truly horrible. > I know so many people that do not want to use OCaml just because its syntax > is (very) "different"... I don't think that those people would be more satisfied with another syntax anyway, because OCaml would still be different! It's just that average people are afraid of anything that is different from what they already know. > (don't tell me about the alternative syntax, which is - to me - an > "horror"...) OK. Here is what I propose to whoever thinks OCaml's syntax is not good: give me a *complete* description of the syntax that you want and I'll implement it. Martin -- Martin Jambon, PhD http://martin.jambon.free.fr --8323328-810281450-1164764881=:2494--