comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Why Ada isn't as successful as it should be
Date: Wed, 20 Jun 2012 09:23:14 +0200
Date: 2012-06-20T09:23:14+02:00	[thread overview]
Message-ID: <1fcq2p4vdg4ew$.acon1yzg8fim$.dlg@40tude.net> (raw)
In-Reply-To: f0bd2924-141f-49c8-af88-4f725ecc60ff@t1g2000pbl.googlegroups.com

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



  reply	other threads:[~2012-06-20  7:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 18:12 Why Ada isn't as successful as it should be Adam Beneschan
2012-06-18 18:37 ` Dmitry A. Kazakov
2012-06-20  5:20   ` quiet_lad
2012-06-20  7:23     ` Dmitry A. Kazakov [this message]
2012-06-19 23:04 ` ggsub
2012-06-20  5:36   ` J-P. Rosen
2012-06-20  5:23 ` quiet_lad
2012-06-20 14:15 ` leonid.dulman
2012-06-20 17:48   ` Yannick Duchêne (Hibou57)
2012-06-20 18:41     ` Dmitry A. Kazakov
2012-06-20 20:56       ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox