[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] user defined commands etc.
From: |
Alexey Veretennikov |
Subject: |
Re: [Bug-apl] user defined commands etc. |
Date: |
Sat, 25 Feb 2017 17:42:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) |
It was CONTINUE.xml actually, just incorrectly copy-pasted. the path of
course is
/Users/alexeyv/Sources/apl/gapl-workspaces/workspaces/
Elias Mårtenson <address@hidden> writes:
> Shouldn't it be called CONTINUE.apl?
>
> On 26 Feb 2017 00:31, "Alexey Veretennikov" <address@hidden> wrote:
>
> Hi,
>
> Doesn't seem to work:
> My lib0 is
> /Users/alexeyv/Sources/apl/gapl-workspaces/workspaces/CONTINUE
>
> CONTINUE file is removed.
> The SETUP.apl is in the same directory.
>
> On attempt to run APL I get:
> ================
> )LOAD CONTINUE (file
> /Users/alexeyv/Sources/apl/gapl-workspaces/workspaces/CONTINUE) failed:
> No such file or directory
> ================
>
> and the SETUP.apl is not loaded.
>
> Alexey Veretennikov <address@hidden> writes:
>
> > Thanks!
> >
> > I'll try it out.
> >
> > One question though: why is this so strange syntax for user commands?
> > Why not to have say in monadic usage the argument as an array and with
> > the command itself stripped? It would allow to make easier user commands.
> >
> > Juergen Sauermann <address@hidden> writes:
> >
> >> Hi,
> >>
> >> regarding user defined commands I have changed the following in SVN 896:
> >>
> >> 1. )CLEAR also clears all user defined commands
> >>
> >> 2. )SAVE and )DUMP also save user defined commands so that they
> >> are available after )LOADing the workspace again.
> >>
> >> 3. If a workspace named SETUP (either .apl or .xml) exists in )LIB 0 then
> >> it is )LOADed automatically unless a CONTINUE workspace exists as
> >> well. The SETUP workspace can be used, for example, to set up user
> >> defined commands that shall exist in all workspaces.
> >>
> >> 4. For older workspaces, you can )COPY the SETUP workspace. However,
> >> this only works for )DUMPed workspaces (i.e. .apl files).
> >>
> >> Elias, this change has moved the user defined commands from class Command
> >> to class Workspace. If have updated the emacs code accordingly; please
> sync back.
> >>
> >> /// Jürgen
> >>
> >>
>
> --
> Br,
> /Alexey
>
>
--
Br,
/Alexey