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,ad988eb0a9545c86 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-24 08:12:58 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!l1-hrz.uni-duisburg.de!sb463ba From: sb463ba@l1-hrz.uni-duisburg.de (Georg Bauhaus) Newsgroups: comp.lang.ada Subject: Re: Problem trying to implement generics. Date: Tue, 24 Apr 2001 15:12:57 +0000 (UTC) Organization: GMUGHDU Message-ID: <9c455p$1c7$2@a1-hrz.uni-duisburg.de> References: <3ADC4320.7ACA3DEC@averstar.com> <9bhoup$h9k$1@taliesin.netcom.net.uk> <3ADC7A79.8E853905@mindspring.com> <9bi7vb$9j7$1@taliesin.netcom.net.uk> <9bpacv$86n$2@a1-hrz.uni-duisburg.de> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 988125177 1415 134.91.4.34 (24 Apr 2001 15:12:57 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 24 Apr 2001 15:12:57 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2] Xref: newsfeed.google.com comp.lang.ada:6889 Date: 2001-04-24T15:12:57+00:00 List-Id: Brian Rogoff (bpr@shell5.ba.best.com) wrote: : On Tue, 24 Apr 2001, Robert A Duff wrote: : > Brian Rogoff writes: : > : > > How about just using the {} and having an optional } if; syntax? : > : > I suppose it's just a matter of taste, but I find "} if;" distasteful. : I was trying to capture the readability of the Ada end ...; constructions, : which I miss in other languages, with some suitability as a very : lightweight delimiter, useable even with inline function definitions. : Could be an overconstrained problem. Isn't there a parsing issue, i.e. knowing whether a spurious } belongs to, well, _some_ {, or "end if" belonging to "if", not while say? Georg