Hi Elias,
I am working on that. The line number is not yet tracked everywhere.
I would use a colon instead of exclamation mark to make it compatible
with other printouts referring to lines in files.
/// Jürgen
On 04/16/2014 06:05 AM, Elias Mårtenson wrote:
Do you think it would be possible to add the function tag to reflect
the location where the function was defined? (the tag being the
pathnamename and line number separated by an exclamation mark)
Regards,
Elias
On 16 April 2014 00:26, Juergen Sauermann
<[email protected] <mailto:[email protected]>>
wrote:
Hi Elias,
thanks, fixed in SVN 208.
Forgot to mention that .apl files should start with #!.
Now a check is made for that.
/// Jürgen
On 04/15/2014 06:30 AM, Elias Mårtenson wrote:
This is probably related to the previous bug report.
After failing to load the previously attached file (the one that
caused a crash), I loaded the functions from the file using the
Emacs-mode command that does the same thing. I then )DUMP'ed the
workspace. I've attached the file that ended up in the
$HOME/workspaces directory.
Trying to )COPY the resulting file did not cause a crash, but
instead the following error:
* )copy foo.apl*
loading )DUMP file /home/emartenson/workspaces/foo.apl...
bad editor command '∇Z←X bar Y' : problem detected at 'Bad
function header at Nabla.cc:502'
DEFN ERROR+
∇Z←X bar Y
^
VALUE ERROR
Z←X+Y
^
VALUE ERROR
'adding' X 'plus' Y '→' Z
^
bad editor command '∇' : problem detected at 'Nabla.cc:169'
DEFN ERROR+
∇
^
bad editor command '∇Z←foo X' : problem detected at 'Bad function
header at Nabla.cc:502'
DEFN ERROR+
∇Z←foo X
^
VALUE ERROR
Z←X+1
^
bad editor command '∇' : problem detected at 'Nabla.cc:169'
DEFN ERROR+
∇
^
)SI not cleared at the end of /home/emartenson/workspaces/foo.apl:
⋆ Z←X+1
^
⋆ 'adding' X 'plus' Y '→' Z
^
⋆ Z←X+Y
^
Regards,
Elias