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.66.199.71 with SMTP id ji7mr6511142pac.23.1433537623614; Fri, 05 Jun 2015 13:53:43 -0700 (PDT) X-Received: by 10.182.29.40 with SMTP id g8mr33406obh.11.1433537623530; Fri, 05 Jun 2015 13:53:43 -0700 (PDT) Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!h15no482038igd.0!news-out.google.com!kd3ni1806igb.0!nntp.google.com!h15no896748igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 5 Jun 2015 13:53:43 -0700 (PDT) In-Reply-To: <856172bk80.fsf@stephe-leake.org> 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: <26ccc147-7a15-48d7-8808-3248edfbf433@googlegroups.com> Subject: Re: OpenToken: Parsing Ada (subset)? From: Shark8 Injection-Date: Fri, 05 Jun 2015 20:53:43 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:193506 Date: 2015-06-05T13:53:43-07:00 List-Id: On Friday, June 5, 2015 at 3:03:30 AM UTC-6, Stephen Leake wrote: > > If you trust that the regexp engine is [1]well written and maintained, > [2]the expressive power is adequate for your language, and [3]the speed is > adequate for your application, then why waste resources reimplementing > the tools? Use them and get on with the interesting work. While #3 seems to not come up often, #1 and #2 seem to be far more "question-able" -- #2 is especially misevaluated a LOT. (If it wasn't we wouldn't see people trying to parse HTML or CSV with regex.) > regexp are perfectly adequate for Ada. Even something like Character'('C')?