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 SAA18344; Thu, 13 Sep 2001 18:09:21 +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 SAA18698 for ; Thu, 13 Sep 2001 18:09:20 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f8DG9JP23944 for ; Thu, 13 Sep 2001 18:09:19 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id SAA31035 for caml-list@inria.fr; Thu, 13 Sep 2001 18:09:19 +0200 Date: Thu, 13 Sep 2001 18:09:19 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] function vs. parser Message-ID: <20010913180919.B30967@verdot.inria.fr> References: <20010913104853.M24601@verdot.inria.fr> <20010913070823.C3927-100000@shell5.ba.best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010913070823.C3927-100000@shell5.ba.best.com>; from bpr@best.com on Thu, Sep 13, 2001 at 07:13:16AM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, > I have a petty complaint. Another name would have been better, say "parse" > to match "match" But "parser" is like "function", not like "match". > since "parser" is a good name for a type and at least in English > there are no good synonyms. If you start writing combinator parsers > you have to hack the keyword parser to be parser_t or _parser or > somesuch, which is a little ugly. Same problem with "type": in my parsers, I would like to have "expr", "patt" and "type". I named it "ctyp", ugly too. And "constraint"... which is named "constrain" in the OCaml parser. It has been the problem with keywords since the Pascal language... > Hey, I said it is a *petty* complaint! ;-) Well, there is some syntactic preprocessor for OCaml - I don't remember the name - which can do that... -- 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