🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1068
From: Randell Jesup
Date: Wed, 30 Aug 1989 00:15
21 lines
1814 bytes
In article <1989Aug29.031707.9022@agate.uucp> mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) writes:
>Fixing the recognition problem isn't hard - you just have to find a
>method that doesn't break Rexx (Rexx exists elsewhere - CLI scripts
>are pretty much Amiga specific, so breaking those is somewhat
>acceptable), which means working with multiple different comment
>methods, doesn't die if you feed it an arbitrary binary (for instance,
>by looking for some character that may never occur), and can't
>possibly collide with any existing thing Execute recognizes.

	This was discussed at length months ago on BIX in amiga.dev/
suggestions.  The final more-or-less consensus was that you should look
for the string #!...!# (... being name of interpreter) anywhere in the
first line.  This allows embedding it in any type of comment.  It still has
a few problems, but seems to handle most of the problems.  There still needs
to be some hard-coded recognitions of executables, AmigaDos scripts, and
_perhaps_ ARexx scripts.

-- 
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
Common phrase heard at Amiga Devcon '89: "It's in there!"
Technical Details
Message-ID: <7782@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!usc!apple!oliveb!amiga!cbmvax!jesup
References: <721@lpami.wimsey.bc.ca> <1989Aug29.031707.9022@agate.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!usc!apple!oliveb!amiga!cbmvax!jesup
From: jesup@cbmvax.UUCP (Randell Jesup)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Dealing with multiple scripting languages (was: Elinating the 'rx' from AREXX)
Message-ID: <7782@cbmvax.UUCP>
Date: 30 Aug 89 00:15:50 GMT
References: <721@lpami.wimsey.bc.ca> <1989Aug29.031707.9022@agate.uucp>
Reply-To: jesup@cbmvax.UUCP (Randell Jesup)
Organization: Commodore Technology, West Chester, PA
Lines: 21