Re: [xsl] XSLT is a pattern-action language. So is AWK. What others?

Subject: Re: [xsl] XSLT is a pattern-action language. So is AWK. What others?
From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2024 14:45:41 -0000
I did mean something else, sorry. Lexically, yes, strings need to be closed.

It was a long time ago, but my recollection is that the syntax allowed any combination of tokens and that combination would mean something. I wouldn't get a syntax error that the order of tokens was wrong, or that declarations were missing, or that some concatenations were nonsensical, or some such.

But recollections are faulty ... it was just what came to mind when Mike posted.

At 11/12/2024 14:20 +0000, russurquhart1@xxxxxxxxxxx russurquhart1@xxxxxxxxxxx wrote:
I love Snobol/Spitbol and have used it from my college days to the present for text processing of non-xml files. I love it and am so confortable with using it. As I learned Snobol before GREP was available, I never go into Regular expression very much.

I'm not sure what you mean that there are no syntax errors in Snobol. When I first started learning it, and every so often now, I can generate a syntax error. for example, forget to close a quote character around a string, etc that'll generate an error, or did you mean something else?

Thanks,

Russ

On Wednesday, December 11, 2024 at 06:48:30 AM CST, Michael Kay michaelkay90@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:


What I hated about SNOBOL (in 1979? 1978?) was that there was no such thing as a syntax error.
Regular expressions seem to have inherited that tradition.


Michael Kay
Saxonica
<http://www.mulberrytech.com/xsl/xsl-list>XSL-List info and archive
<http://lists.mulberrytech.com/unsub/xsl-list/1358440>EasyUnsubscribe (by email)
<http://www.mulberrytech.com/xsl/xsl-list>XSL-List info and archive
<http://lists.mulberrytech.com/unsub/xsl-list/96802>EasyUnsubscribe (<>by email)

Current Thread