Hi Roy,
On my box:*
eedjsa@server68:~$ echo ")continue" | apl -L /tmp/cc.apl && apl
______ _ __ __ __ ___ ____ __
/ ____// | / // / / / / | / __ \ / /
/ / __ / |/ // / / / / /| | / /_/ // /
/ /_/ // /| // /_/ / / ___ | / ____// /___
\____//_/ |_/ \____/ /_/ |_|/_/ /_____/
Welcome to GNU APL version 2.0 / SVN: 2900M
Copyright © 2008-2026 Dr. Jürgen Sauermann
Banner by FIGlet: www.figlet.org
This program comes with ABSOLUTELY NO WARRANTY;
for details run: apl --gpl.
This program is free software, and you are welcome to redistribute it
according to the GNU Public License (GPL) version 3 or later.
DUMPED 2026-04-15 11:37:03 (GMT+2)
→→ without ←← (aka. IF without ENDIF). First observed on line [1], PC=1.
→→ without ←← (aka. IF without ENDIF). First observed on line [1], PC=1.
DEFN ERROR+
∇f
^
)continue
WAS 0 cc
Unable to )SAVE workspace '/home/eedjsa/workspaces/CONTINUE.xml'. No
such file or directory
2026-04-15 11:41:11 (GMT+2) CONTINUE
Goodbye.
Session duration: 0.572151 seconds
______ _ __ __ __ ___ ____ __
/ ____// | / // / / / / | / __ \ / /
/ / __ / |/ // / / / / /| | / /_/ // /
/ /_/ // /| // /_/ / / ___ | / ____// /___
\____//_/ |_/ \____/ /_/ |_|/_/ /_____/
Welcome to GNU APL version 2.0 / SVN: 2900M
Copyright © 2008-2026 Dr. Jürgen Sauermann
Banner by FIGlet: www.figlet.org
This program comes with ABSOLUTELY NO WARRANTY;
for details run: apl --gpl.
This program is free software, and you are welcome to redistribute it
according to the GNU Public License (GPL) version 3 or later.*
On 4/10/26 20:25, Roy Tobin wrote:
Hi,
The user is making a mistake here. Yet I'm politely requesting for the
interpreter to continue, not terminate. Because of the uncaught thrown
exception at the C++ level, I'm presuming this condition was not
considered
and so GNU APL robustness can be improved.
Step 1: Assure CONTINUE.xml does not exist in LIBREF-0. This is because
the failing testcase will need to create/overwrite CONTINUE.xml.
Step 2: create a little four line text file at /tmp/cc:
#!
∇f
1 →→
∇
Step 3: Under linux, run this pipeline:
echo ')continue' | apl -L /tmp/cc && apl
I get:
→→ without ←← (aka. IF without ENDIF). First observed on line [1], PC=1.
→→ without ←← (aka. IF without ENDIF). First observed on line [1], PC=1.
terminate called after throwing an instance of 'Error'
Abort
BTW, I find the diagnostic helpful (albeit twice). My only concern is
the Abort.
Thanks.