bug-apl
[Top][All Lists]
Advanced

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

Replacing )SAVE with )DUMP


From: Blake McBride
Subject: Replacing )SAVE with )DUMP
Date: Wed, 24 Feb 2021 07:26:12 -0600

On Wed, Feb 24, 2021 at 7:06 AM Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> wrote:

[...]

First of all, )save produces an old file format.These days )dump is preferred over )save
since it makes it much easier to recover most of a broken workspace files, and the )dump
format is pretty much directly executable APL code rather than xml. That makes )dump more
independent of the interpreter version than )save.

The only disadvantage of )dump is that it does not save the )SI stack likw )save does.
So when you )dump a workspace the you loose the )SI stach and with it all local variables.
[...]

 Two points:

1.  It is confusing to have two formats.

2.  Preferring )DUMP, which isn't even part of standard APL, is, in a sense, changing the language.

My suggestion is:

A.  Get rid of )SAVE
B.  Rename )DUMP to )SAVE
C.  Enhance the dump format to save the SI.

Blake McBride


reply via email to

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