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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ae0d379433307869 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Pattern matching Date: 1997/10/09 Message-ID: #1/1 X-Deja-AN: 279114683 References: <343A068A.41C6@sbphrd.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 876454728 23152 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1997-10-09T00:00:00+00:00 List-Id: <> Provided that the compiler you use implements Unrestricted_Access in a manner identical to the implementation in GNAT, that may be true, although a fair amount of hacking would be required even then (and I suspect that in fact only GNAT can compile this package). These packages were written with no attempt to be cross-platform portable, and they rely on the use of UnrestrictedAccess in a fundfamental manner at the interface. So for practical purposes, I suspect that these packages are in practice GNAT specific. Robert Dewar Ada Core Technologies. P.S. the language is SNOBOL 4, not plain SNOBOL, and indeed it is probably better to refer to this as SPITBOL style pattern matching anyway. As usual, the documentation is found in the relevant g-*.ads files. Note that in addition to full pattern matching capabilities, these packages also provide associative array capabilities (like Table in SPITBOL).