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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.76.80 with SMTP id z77mr2943872ywa.22.1433537342321; Fri, 05 Jun 2015 13:49:02 -0700 (PDT) X-Received: by 10.140.34.78 with SMTP id k72mr72833qgk.17.1433537342306; Fri, 05 Jun 2015 13:49:02 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!1.eu.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!z60no517939qgd.1!news-out.google.com!k20ni45221qgd.0!nntp.google.com!z60no517936qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 5 Jun 2015 13:49:02 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=67.0.105.201; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 67.0.105.201 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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9e782201-ef69-4eb9-b5ce-0dd153ed830b@googlegroups.com> Subject: Re: OpenToken: Parsing Ada (subset)? From: Shark8 Injection-Date: Fri, 05 Jun 2015 20:49:02 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:26198 Date: 2015-06-05T13:49:02-07:00 List-Id: 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.