bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Announce: APL function editor written in APL


From: Blake McBride
Subject: Re: [Bug-apl] Announce: APL function editor written in APL
Date: Mon, 2 Jun 2014 13:42:59 -0500

Dear Fred,

Thanks for the feedback.  Everything has been corrected.

The ∆ function has an interesting history.  Before the diamond operator, we sometimes needed a way to put several unrelated lines on the same APL function line - mainly for neatness.  To accomplish this, we defined ∆ that took two arguments and returned the left.  This gave the affect of multiple unrelated lines but required that the right argument ended with a value rather than a branch.

When the diamond operator came out, we were all bewildered that APL processes right to left (for good reasons), but the diamond operator worked left to right.  Strange, unexpected, and it threw out all the reasons to process from right to left.

All my code was written with the old ∆ function.  I suppose I'll switch to the diamond operator sometime soon.

In an effort to create a "package" out of the editor, I added E∆ in front of all the functions in order to distinguish the editor functions from those of your application.  So ∆ became E∆.  The function you had trouble with was copied from my utilities after I made that change, so one function missed the change.  I didn't notice because I have the ∆ function too.  It's all fixed now.

Thanks.

Blake



On Mon, Jun 2, 2014 at 11:13 AM, Frederick H. Pitts <address@hidden> wrote:
Hello Blake,

        Two questions:
        1) Should the ' ∆ ' (capital delta) appearing on lines 256, 257, 259,
261, 263, 267, and 271 of Editor.apl be ' ◇ ' (diamond).  From the
context, it appears that statement separators are needed, not an
uninitialized variable?
        2) Is the first line of Editor.apl correct?  It appears that
'/usr/local/bin' is repeated twice.

        While item 2) does not appear to cause any problem, item 1) seems to
interfere with editor screen subcommands.  The 'f', 'l', and 'a'
subcommands
do not work for me, but the screen number subcommand does.

Regards,

Fred

On Fri, 2014-05-30 at 20:35 -0500, Blake McBride wrote:
> An APL Editor for GNU APL
>
>
>
>
>
> This package is located at:
> https://github.com/blakemcbride
>
>
> This package provides an editor, written in APL, for editing APL
> functions.  It provides facilities that make the creation and editing
> of APL functions easier and less clunky than the standard APL function
> editor - all without leaving APL.  Lines can be edited without having
> to re-type them, lines can be copied and added, and string search and
> replace capabilities are available too.
>
>




reply via email to

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