Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!rpi!pawl!shadow
From: shadow@pawl.rpi.edu (Deven T. Corzine)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Dealing with multiple scripting languages (was: Elinating the 'rx' from AREXX)
Message-ID: 
Date: 27 Sep 89 16:45:49 GMT
References: <721@lpami.wimsey.bc.ca> <1989Aug29.031707.9022@agate.uucp>
	 <4190@sugar.hackercorp.com>
Organization: Rensselaer Polytechnic Institute, Troy, NY
Lines: 37
In-Reply-To: peter@sugar.hackercorp.com's message of 22 Sep 89 17:12:51 GMT


On 22 Sep 89 17:12:51 GMT,
peter@sugar.hackercorp.com (Peter da Silva) said:

peter> Deven suggested doing it just like UNIX, except that when the
peter> interpreter is started up...

In article ,
shadow@pawl.rpi.edu (Deven T. Corzine) writes:

Deven> Stdin of interpreter is set to the script file, starting at the
Deven> SECOND line.  That way, you don't have to worry about comment
Deven> syntax.

peter> Two problems:

peter> 	(1) This has to work with existing programs, that might
peter> 	    not work with the script on Input().

But then you're right back to the same problem of the interpreter
needing to filter it out.  (though I suppose it would be easier to
imbed in some other comment syntax...)

peter> 	(2) This has to allow interactive input, which goes by the
peter> 	    wayside if Input() has been stolen.

Good point.

peter> The best solution, if you want to change things, is to add a
peter> standard command input seperate from stdin [...]

Maybe.  Is it worth it?
--
Deven T. Corzine        Internet:  deven@rpi.edu, shadow@pawl.rpi.edu
Snail:  2151 12th St. Apt. 4, Troy, NY 12180   Phone:  (---) --none--
Bitnet:  deven@rpitsmts, userfxb6@rpitsmts     UUCP:  uunet!rpi!deven
Simple things should be simple and complex things should be possible.