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,dd4586b9dd51c602 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: general-purpose vs. domain-specific programming languages Date: 1998/01/13 Message-ID: #1/1 X-Deja-AN: 315532966 References: <98011217550672@psavax.pwfl.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 884697569 13425 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-01-13T00:00:00+00:00 List-Id: Marin said <> I doubt it is worth having such specific features. I must say I have NEVER needed this *exact* function in anything I have written. But it is reasonable to have the primitives from which this is easily constructed, and certainly using the pattern matching support in GNAT, you can easily program this function (and indeed tuck it in a library if you really think it is something you will often want to do). <> GNAT implements all the important functionality of SNOBOL-4 (with SPITBOL extensions), and it was serious tough work, but a lot of people, including the GNAT project itself, has found it very useful. Of course not all of PERL is in SNOBOL4 (and vice versa), but actually I think a GNAT.Perl library unit that contained useful functionality along these lines would make very good sense. We are certainly planning some units of this kind (the spec for GNAT.COBOL is already completed, but who knows when the implementation will get done?) A useful thing would be for someone to propose a spec for a Perl interface ....