From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-16 13:32:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-binary.blueyonder.co.uk.POSTED!53ab2750!not-for-mail User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: Ideas for Ada 200X "left hand side" repeater. From: Bill Findlay Newsgroups: comp.lang.ada Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Date: Mon, 16 Jun 2003 21:31:29 +0100 NNTP-Posting-Host: 80.195.75.181 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news-binary.blueyonder.co.uk 1055795557 80.195.75.181 (Mon, 16 Jun 2003 20:32:37 GMT) NNTP-Posting-Date: Mon, 16 Jun 2003 20:32:37 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:39273 Date: 2003-06-16T21:31:29+01:00 List-Id: On 16/6/03 20:29, in article eIydnQ7dD_77h3OjXTWJiA@gbronline.com, "Wesley Groleau" wrote: Wes, I recognize your name from comp.sys.mac. Macs and Ada - you are clearly a man of culture and taste. 8-) > I'm still not persuaded that the idea is worth > the trouble, but > > - If we go to the trouble of adding a mechanism > to save re-typing the left hand side, it definitely > must not have rules about some operators can use it > and some can't. Definitely. That is the great benefit of the idem notation - it allows full generality of expression on the RHS. > - It must neither be hard to read nor easy to create > by typo. Especially not by typo for some other legal > construct. An ideal that will never be completely > reachable, but should always be attempted, is that > a typo should fail to compile instead of changing > the behavior. Absolutely. > - How about > {} > Doesn't match anything in the language currently. > Hard to type by accident. > If you miss the shift key, you don't get something else > legal or even that looks like a typo for something legal. > Mnemonic for it is how it's used in the Unix 'find' That might be its biggest disadvantage. 8-) -- Bill-Findlay chez blue-yonder.co.uk ("-" => "")