bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Feature request: initial expression from command line


From: David B. Lamkins
Subject: Re: [Bug-apl] Feature request: initial expression from command line
Date: Tue, 17 Jun 2014 09:47:53 -0700

Thank you.

On Tue, 2014-06-17 at 18:30 +0200, Juergen Sauermann wrote:
> Hi David,
> 
> good idea. I have called it --LX instead of --init because it is similar 
> to ⎕LX.
> The creation of a .log file for non-testcase (.tc) files was actually a 
> fault that has been fixed.
> SVN 332.
> 
> /// Jürgen
> 
> 
> On 06/17/2014 07:18 AM, David B. Lamkins wrote:
> > Feature request:
> >
> > Add a command-line option to pass a first command to the interpreter.
> >
> > For example:
> >
> > $ apl --init ')LOAD foo'
> >
> > Note the ways in which the example differs from $ apl -f foo.apl :
> >
> > - the file is loaded from the workspace directory
> > - no foo.apl.log file is created
> > - the contents of foo.apl are not echoed to the session during loading
> >
> > Alternative:
> >
> > There may be other uses for --init 'command', but )LOAD and )COPY are
> > the most obvious. An alternative implementation would be to wire in just
> > those two cases, as in:
> >
> > $ apl --load foo
> > $ apl --copy foo
> >
> > Again, the file passed to --load or --copy would be resolved relative to
> > the workspace (i.e. )LIB 0) path.
> >
> >
> >
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]