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: 103376,9dc2c03e552da989 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.65 with SMTP id vi1mr21814673pbc.7.1340176994368; Wed, 20 Jun 2012 00:23:14 -0700 (PDT) Path: l9ni71564pbj.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Why Ada isn't as successful as it should be Date: Wed, 20 Jun 2012 09:23:14 +0200 Organization: cbb software GmbH Message-ID: <1fcq2p4vdg4ew$.acon1yzg8fim$.dlg@40tude.net> References: <16q6uhbhzcu6z.34tu6w1fyoc$.dlg@40tude.net> 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: 2012-06-20T09:23:14+02:00 List-Id: On Tue, 19 Jun 2012 22:20:33 -0700 (PDT), quiet_lad wrote: > on the regex thing: do you mean the rebol inspired way is better? or > that something else is better? making regex not needed? And in which connection are regular expressions to beards? As for REBOL, I don't know it, it looks similar to BNF, but the key issue are recursion and repetition (to be able to match things like balanced brackets). Iterative patterns have the problem of infinite looping when the iterated sub-pattern may match an empty substring. E.g. a pattern like $[DIGIT] here $ is an "eager" repeater, will never end. The correct one is: DIGIT $DIGIT I played these games in late 80's, before I get convinced that patterns is not an answer. The remnants are here: http://www.dmitry-kazakov.de/match/match.htm -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de