comp.lang.ada
 help / color / mirror / Atom feed
From: sb463ba@l1-hrz.uni-duisburg.de (Georg Bauhaus)
Subject: Re: gnat.spitbol.patterns.match(...)
Date: 2000/10/07
Date: 2000-10-07T00:00:00+00:00	[thread overview]
Message-ID: <8rnbfv$hj6$1@news-hrz.uni-duisburg.de> (raw)
In-Reply-To: 3A04F805.AB1D83DA@telepath.com

Ted Dennison (dennison@telepath.com) wrote:

: Well...a lot of that was SPITBOL (a regular expression language).

Not beeing the one to judge SNOBOL4, but still having
intense looks at it (and using it), thus finding "a regular
expression language" rather misleading (for reasons in
addition to those Robert Dewar has already given), here is
a quote from J. Gimpel, Algorithms in SNOBOL4:

"The SNOBOL series of programming languages through SNOBOL4 had only one
datatype, the string. Even the arithmetic facilities of SNOBOL3 were
implemented as operations on strings of digits rather than on machine
integers. Because of this historical bias, and because the language is
extaordinarily rich in string handling, SNOBOL4 is still regarded by
some as exclusively a string language. Yet, all the basic facilities
which one expects in a list processing language have been incorporated
into SNOBOL4; these include the automatic allocation and freeing of
storage, recursive functions, the pointer, and the data structure.
Moreover, the notation is, for the most part, conventional, convenient
and flexible. Were SNOBOL4 suddenly stripped of all its pattern
matching capabilities, it would still be a powerful and convenient
list-processing language." (p. 80)

And easy enough to use! :-)  With the GNAT library,
and the ./examples directory, you get Ada with it's
facilities combined with some from SNOBOL4, to make a
handy toolset for, e.g. data preparation (called "data laundry",
I believe, think of CGI as one example). 
NOte that Ada has types, so SNOBOL4's dodn't
have to be "imported" :>.  IMHO





  parent reply	other threads:[~2000-10-07  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-05  0:00 gnat.spitbol.patterns.match(...) bumwad
2000-10-06  0:42 ` gnat.spitbol.patterns.match(...) dale
2000-10-06  0:00   ` gnat.spitbol.patterns.match(...) Robert Dewar
2000-10-06  0:00     ` gnat.spitbol.patterns.match(...) Dale Stanbrough
2000-10-07  0:25       ` gnat.spitbol.patterns.match(...) Ted Dennison
2000-10-06  3:14   ` gnat.spitbol.patterns.match(...) Ted Dennison
2000-10-06  0:00     ` gnat.spitbol.patterns.match(...) Robert Dewar
2000-10-07  0:00     ` Georg Bauhaus [this message]
2000-10-07  0:00       ` gnat.spitbol.patterns.match(...) Georg Bauhaus
replies disabled

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