comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Easiest way to use redular expressions?
Date: Tue, 05 Jan 2021 02:46:24 -0800	[thread overview]
Message-ID: <87ft3facfz.fsf@nightsong.com> (raw)
In-Reply-To: rt1bd3$1kka$1@gioia.aioe.org

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> If somebody is adamant to use patterns, then SNOBOL would be a better
> choice. It is cleaner, intuitive and more powerful than regular
> expressions. 

OMG, SNOBOL was fun, but these days, look at Parsec-style parser
combinators.  Parsec is a Haskell library but there are similar things
in other languages.

> (There is a SPITBOL implementation in GNAT libraries.

It is fun to look at, written in an abstract assembly language with a
SPITBOL program that translates it to various real assembly languages.
It is fun to read the source code, which is extremely well commented.

SPITBOL was originally written by Robert Dewar (of Adacore) and Ken
Belcher, fwiw.

  reply	other threads:[~2021-01-05 10:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27  8:20 Easiest way to use redular expressions? reinert
2020-12-27  8:36 ` J-P. Rosen
2020-12-27 11:14   ` Emmanuel Briot
2020-12-27 20:31     ` oliverm...@gmail.com
2020-12-28  8:01       ` Per Sandberg
2020-12-28 13:58         ` Maxim Reznik
2020-12-28 21:07 ` Jeffrey R. Carter
2020-12-31 10:29   ` reinert
2021-01-05  1:31 ` Shark8
2021-01-05  9:27   ` Dmitry A. Kazakov
2021-01-05 10:46     ` Paul Rubin [this message]
2021-01-05 11:20       ` Dmitry A. Kazakov
replies disabled

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