🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1109

Re: Dealing with multiple scripting languages (was: Elinating the 'rx' from AREXX)

#1109
From: Charles Brown
Date: Fri, 01 Sep 1989 01:21
41 lines
2381 bytes
> Perhaps the answer is to remove the magic number to somewhere else,
> like the file header, so that the interpreter doesn't actually get it
> as part of the file. 

A disadvantage to this is that the magic number is lost if I move the
file using arc, shar, cpio, tar, ...

> I don't mind if Amigados scripts get broken, as long as there is a way
> to tell when they are broken because of the changes. That would entail
> an error message to the effect: 'No magic number'. It would be a small
> price to pay for the transition, and would be relatively easy to fix.

That is not a small price to pay.  Any time you break existing
programs (especially those used by novices) you are asking to loose
market share.

> I don't see arbitrary binaries as a problem. The rule would be to look
> at the first non-whitespace character(s). If they happen to be
> something used by an interpreter, what are the chances that the rest
> of the passed file will be a legal interpreter program?

And the interpreter gags on it.  That is not friendly.  The idea is to
recognize that it is binary and NOT interpret it.

>>  However, that ignores the more important problem - that ARexx
>> expects a wider communications path to the invoking program than
>> Execute provides. 

> Yes, and that's now, as things stand under the current rev of the OS.
> I think you'll find that there are sufficient hooks coming to fill the
> requirements of ARexx, and that many of the problems will disappar
> entirely. My main concern is that we have a method to allow virtually
> unlimited capability to add interpreted languages transparently, and
> in a manner consistent with each language's implementation.
> -larry

This is music to my ears.
--
	Charles Brown	charles@cv.hp.com or charles%hpcvca@hplabs.hp.com
			or hplabs!hpcvca!charles or "Hey you!"
	Not representing my employer.
Technical Details
Message-ID: <1410030@hpcvca.CV.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvca!charles
References: <1989Aug14.015608.21854@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvca!charles
From: charles@hpcvca.CV.HP.COM (Charles Brown)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Dealing with multiple scripting languages (was: Elinating the 'rx' from AREXX)
Message-ID: <1410030@hpcvca.CV.HP.COM>
Date: 1 Sep 89 01:21:49 GMT
References: <1989Aug14.015608.21854@agate.berkeley.edu>
Organization: Hewlett-Packard Co., Corvallis, Oregon
Lines: 41