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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 05 Jun 2015 18:52:08 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: OpenToken: Parsing Ada (subset)? Date: Fri, 05 Jun 2015 19:52:12 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <878uc3r2y6.fsf@adaheads.sparre-andersen.dk> <85twupvjxo.fsf@stephe-leake.org> <81ceb070-16fe-4578-a09a-eb11a2bbb664@googlegroups.com> <162zj7c2l0ykp$.1rxias18vby83.dlg@40tude.net> <856172bk80.fsf@stephe-leake.org> <9e782201-ef69-4eb9-b5ce-0dd153ed830b@googlegroups.com> X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.73.119.127 X-Trace: sv3-qRqFGpxVkQcOzopH8J209xrrmdXTXx8N0ht07jL50RBav0N/JedJkRQo/Zzm0FO/De7z1CL8LoCjRXj!ma2TPv4pJPcTaHhWVC+OZMHmOeqDw1MwAcKYToh1Paqc4d0HSWIyIXJdKacXy2LXdNjO0lMPBIHO!rM0yi/EyQkF4pDmI47AF1v7TX6Cc X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2605 X-Received-Bytes: 2717 X-Received-Body-CRC: 2452664145 Xref: news.eternal-september.org comp.lang.ada:26201 Date: 2015-06-05T19:52:12-04:00 List-Id: On Fri, 5 Jun 2015 13:49:02 -0700 (PDT), Shark8 declaimed the following: >On Friday, June 5, 2015 at 3:23:40 AM UTC-6, Georg Bauhaus wrote: >> On 05.06.15 11:03, Stephen Leake wrote: >> > Aflex compiles all the regular expressions for all of the tokens into >> > one state machine, that visits each character in the input stream once. >> > You can't get faster than that. >> >> You can get faster than that if the OS supports >> line-oriented I/O of text: >> >> NotInString -> '-' ... -> '-' -> SKIPThisLine :) > >Hm, I seem to recall something about OpenVMS text-file that might qualify there. VMS had an abundance of RMS (Record Management Services) formats even for text files -- one of which was "carriage control" ( delimited lines). And don't get me started on the FORTRAN "native" "segmented record" type (a logical record is split across 1 or more physical records, wherein each physical record had a marker bits for first, continuation, last record, and a record length value; continuation basically set neither flag, a short record would have first and last bits set). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/