bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Question about GNU APL


From: Juergen Sauermann
Subject: Re: [Bug-apl] Question about GNU APL
Date: Thu, 19 Feb 2015 14:10:12 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Christian,

see my answers inline below...

/// Jürgen


On 02/19/2015 03:10 AM, Christian Robert wrote:
I was to report that this APL _expression_

      30 2⍴?60⍴2

always return a row of "1" and a row of "2" (installed from the source(.tar.gz) provided on GNU Mirrors)

after looking at the "GNU APL" site for a bug report address, I saw that we can get
the "latest" from svn; so I check-it-out, compiled, installed and to my surprise
it no longer give me a row of "1" and "2" !

great !

I am currently working on the next GNU APL release 1.5 which will include all fixes for bugs
reported since GNU APL 1,4. The bug above is one of them.


that said, my real question is:

how hard is it to implement the standard/or-not-as-standard-as-it-seems

:if {boolean}
  do this
:else
  do that
:endif

:repeat
  do this
:until {boolean}

:for {var} :in {list}
  do this
:endfor

:forlcl {var} :in {list}
  do this
:endforlcl

I think there is a :while :endwhile  too


thoses are really missing (to my point of view).


1. those things are probably not very hard to implement. However:

2. I try to minimize non-standard extensions of GNU APL because every such extension
    creates incompatibilities of APL programs that are using them. My idea of free software
    is that not only GNU APL itself should be free but also APL programs running on GNU APL.
    And for a free APL program to be useful it is important that is is portable between different APL interpreters.

an other thing really missing is a native ")edit function_name"
who would open an other xterm and offer editing/modifying/saving a function
in a window, ala VI/VIM or ala emacs or ala nano. (I may be able to help in this matter, ps: ala means "like", not really "with")


I believe Elias has responded to that. I would add that you now can create user defined commands yourself :-) .
My personal working mode is that I edit an APL script in one xterm with vi and run that script in a second xterm
from the command line.

nevertheless I'm quite pleased with "GNU APL" (2 days old installation)


Thanks!


Christian Robert,
Poly.





reply via email to

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