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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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.102.69 with SMTP id fm5mr20850wib.0.1359685721539; Thu, 31 Jan 2013 18:28:41 -0800 (PST) Path: i11ni32254wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.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!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada standard and maximum line lengths Date: Mon, 28 Jan 2013 09:18:43 +0100 Organization: cbb software GmbH Message-ID: <1mr198uopixbw$.c81fe8oczrwv.dlg@40tude.net> References: <8dfcf819-e1d0-4578-a795-a4bf724b5014@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2013-01-28T09:18:43+01:00 List-Id: On Sun, 27 Jan 2013 21:02:09 -0800 (PST), Lucretia wrote: > I was reading the Ada 2012 standard and found this, I was just wondering > why there is a maximum line length, it's not like we parse the language a > line at a time. It is. I always accumulate a whole line before parsing it. > Why not just accept it as a stream of tokens and if there > are line breaks, ignore? For multiple reasons. Specifically regarding Ada, the language has syntax elements bound by the line end, e.g. comments etc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de