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.24.228 with SMTP id x4mr39443wif.4.1359687003453; Thu, 31 Jan 2013 18:50:03 -0800 (PST) Path: i11ni32283wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.40.29.245.MISMATCH!novia!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!news.snarked.org!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada standard and maximum line lengths Date: Mon, 28 Jan 2013 08:49:37 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1359380978 14033 192.74.137.71 (28 Jan 2013 13:49:38 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 28 Jan 2013 13:49:38 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:NhQl1XagYZLwSLl2NXouS3sXDEs= Content-Type: text/plain; charset=us-ascii Date: 2013-01-28T08:49:37-05:00 List-Id: Lucretia writes: > I was reading the Ada 2012 standard and found this, I was just > wondering why there is a maximum line length, ... I don't think the RM should have that, and I think compilers ought to support arbitrary line lengths and identifier lengths, up to whatever limits are imposed by the hardware and operating system, or at least high enough that nobody will run into them (including in automatically-generated code). >...it's not like we parse > the language a line at a time. Why not just accept it as a stream of > tokens and if there are line breaks, ignore? Line breaks aren't ignored (they terminate comments, and they are illegal in string literals), but yeah, there's no problem parsing files with very long lines. - Bob