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-Thread: a07f3367d7,8143b93889fe9472 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.97.226 with SMTP id ed2mr28432wib.3.1359687896300; Thu, 31 Jan 2013 19:04:56 -0800 (PST) Path: bp2ni9380wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newspeer1.nac.net!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Ada standard and maximum line lengths Date: Mon, 28 Jan 2013 09:42:51 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> Mime-Version: 1.0 Injection-Date: Mon, 28 Jan 2013 16:42:45 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="656ea2f23126f57fb36504d2d15a002c"; logging-data="32542"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193a/MMf2pvXKNvukqBwSjJvEYaliNgF8A=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:KS+QK0MTvqMZ+C0Ly7tFuzJ/Gkk= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2013-01-28T09:42:51-07:00 List-Id: On 01/28/2013 01:05 AM, Niklas Holsti wrote: > On 13-01-28 08:28 , Jeffrey Carter wrote: > >> But since the maximum line >> length chosen by a compiler also defines the maximum identifier length >> accepted by the compiler, > > Why? I don't see anything in the ARM quote that requires this. The > limits on the line length and lexical element length are independent, > although they minimum happen to have the same minimum value. This isn't addressed directly in the quote. An identifier is a sequence of characters from certain classes, terminated by a delimiter; a line terminator is a delimiter. In the absence of another restriction on identifier length, clearly an identifier cannot be longer than the maximum line length. > A compiler could have 200 characters as the maximum lexical element and > identifier length, but accept lines of any length, couldn't it? Presumably it could. I thought efficiency in compiling was the reason behind limiting identifier length (being able to build efficient compilers is one of the constraints on the ARG), but Duff's comments in this thread lead me to doubt that. -- Jeff Carter "What I wouldn't give for a large sock with horse manure in it." Annie Hall 42