[Bug-apl] Newly introduced bug
IBM APL2: 'Y'∨.≠2 2⍴'X' 1 1 GNU APL: 'y'∨.≠2 2⍴'x' LENGTH ERROR 'y'∨.≠2 2⍴'x' ^^ Thanks. Blake
Re: [Bug-apl] aplwrap: another problem with quad-quote
Thanks. Looks good now. Blake On Mon, Sep 22, 2014 at 9:20 PM, dlamk...@gmail.com wrote: > Fixed. I forwarded the patch to Chris. > > > > > > -- Original message-- > > *From: *David Lamkins > > *Date: *Mon, 2014/09/22 09:41 > > *To: *bug-apl@gnu.org; > > *Cc: *Blake McBride;Chris Moller; > > *Subject:*Re: [Bug-apl] aplwrap: another problem with quad-quote > > > I see it. Thanks. I'll look into this tonight. > > > >> GNU APL (without aplwrap): >> >> x←⍞,0⍴⍞←0⍴' ' >> abc >> x >> abc >> ⍴x >> 3 >> >> >> APL WRAP: >> >> x←⍞,0⍴⍞←0⍴' ' >> abc >> [APLWRAP does something really strange here like repeating a prior >> line???] >> ⍴x >> 0 >> >> Something really wrong. >> >> Thanks. >> >> Blake >> >> >> > -- > "The secret to creativity is knowing how to hide your sources." >Albert Einstein > > > http://soundcloud.com/davidlamkins > http://reverbnation.com/lamkins > http://reverbnation.com/lcw > http://lamkins-guitar.com/ > http://lamkins.net/ > http://successful-lisp.com/ >
[Bug-apl] Up arrow stopped working
I have no idea what is causing this, but this is what I get when I hit up-arrow and then enter: )CLEAR CLEAR WS 3 3 4 4 [up-arrow enter pressed here] Unknown ESC sequence: ESC 0x4F 0x41 �� Offending token: 0x56020011 (VOID) SYNTAX ERROR+ Thanks. Blake
Re: [Bug-apl] Up arrow stopped working
H. I destroyed the shell, created a new command shell, and now it works. Strange. On Thu, Oct 2, 2014 at 7:05 AM, Blake McBride wrote: > I have no idea what is causing this, but this is what I get when I hit > up-arrow and then enter: > > )CLEAR > CLEAR WS > 3 > 3 > 4 > 4 > [up-arrow enter pressed here] > Unknown ESC sequence: ESC 0x4F 0x41 > �� > Offending token: 0x56020011 (VOID) > SYNTAX ERROR+ > > > Thanks. > > Blake > >
Re: [Bug-apl] Newly introduced bug
Hi Blake, thanks, fixed in SVN 483. /// Jürgen On 10/02/2014 01:58 PM, Blake McBride wrote: IBM APL2: 'Y'∨.≠2 2⍴'X' 1 1 GNU APL: 'y'∨.≠2 2⍴'x' LENGTH ERROR 'y'∨.≠2 2⍴'x' ^ ^ Thanks. Blake
Re: [Bug-apl] Up arrow stopped working
Hi Blake, I guess this may happen when you hit some other (Function- or cursor-) key by mistake, or when another program changes key-bindings. /// Jürgen On 10/02/2014 02:09 PM, Blake McBride wrote: H. I destroyed the shell, created a new command shell, and now it works. Strange. On Thu, Oct 2, 2014 at 7:05 AM, Blake McBridewrote: I have no idea what is causing this, but this is what I get when I hit up-arrow and then enter: )CLEAR CLEAR WS 3 3 4 4 [up-arrow enter pressed here] Unknown ESC sequence: ESC 0x4F 0x41 �� Offending token: 0x56020011 (VOID) SYNTAX ERROR+ Thanks. Blake
Re: [Bug-apl] Newly introduced bug
Dear Juergen, That fixed the problem. Thanks. However, this scares me a little bit - random basic functionality failing. Perhaps I can suggest the following. Create a test suite that, for now, just tests a bench of somewhat random stuff that you think are good tests. Then, every time someone reports a problem, such as this one, you can add it to the test suite. This way we'd be sure that there is some coverage going on and that old bugs don't reappear. Perhaps it can be run with "make test". Please let me know if you think this is a good idea but you don't have time for it. Perhaps I, or someone else on the list, will do it. Thanks. Blake On Thu, Oct 2, 2014 at 11:04 AM, Juergen Sauermann < juergen.sauerm...@t-online.de> wrote: > Hi Blake, > > thanks, fixed in SVN 483. > > /// Jürgen > > > > On 10/02/2014 01:58 PM, Blake McBride wrote: > > IBM APL2: > >'Y'∨.≠2 2⍴'X' > 1 1 > > > > GNU APL: > >'y'∨.≠2 2⍴'x' > LENGTH ERROR > 'y'∨.≠2 2⍴'x' > ^^ > > Thanks. > > Blake > > >
Re: [Bug-apl] Newly introduced bug
The test file format is actually very simple. It's just a set of of functions and their expected return value. Regards, Elias On 3 October 2014 00:18, Blake McBride wrote: > Dear Juergen, > > That fixed the problem. Thanks. However, this scares me a little bit - > random basic functionality failing. Perhaps I can suggest the following. > > Create a test suite that, for now, just tests a bench of somewhat random > stuff that you think are good tests. Then, every time someone reports a > problem, such as this one, you can add it to the test suite. This way we'd > be sure that there is some coverage going on and that old bugs don't > reappear. Perhaps it can be run with "make test". > > Please let me know if you think this is a good idea but you don't have > time for it. Perhaps I, or someone else on the list, will do it. > > Thanks. > > Blake > > > On Thu, Oct 2, 2014 at 11:04 AM, Juergen Sauermann < > juergen.sauerm...@t-online.de> wrote: > >> Hi Blake, >> >> thanks, fixed in SVN 483. >> >> /// Jürgen >> >> >> >> On 10/02/2014 01:58 PM, Blake McBride wrote: >> >> IBM APL2: >> >>'Y'∨.≠2 2⍴'X' >> 1 1 >> >> >> >> GNU APL: >> >>'y'∨.≠2 2⍴'x' >> LENGTH ERROR >> 'y'∨.≠2 2⍴'x' >> ^^ >> >> Thanks. >> >> Blake >> >> >> >
Re: [Bug-apl] aplwrap: another problem with quad-quote
Thanks, Blake. On Thu, Oct 2, 2014 at 4:58 AM, Blake McBride wrote: > Thanks. Looks good now. > > Blake > > On Mon, Sep 22, 2014 at 9:20 PM, dlamk...@gmail.com > wrote: > >> Fixed. I forwarded the patch to Chris. >> >> >> >> >> >> -- Original message-- >> >> *From: *David Lamkins >> >> *Date: *Mon, 2014/09/22 09:41 >> >> *To: *bug-apl@gnu.org; >> >> *Cc: *Blake McBride;Chris Moller; >> >> *Subject:*Re: [Bug-apl] aplwrap: another problem with quad-quote >> >> >> I see it. Thanks. I'll look into this tonight. >> >> >> >>> GNU APL (without aplwrap): >>> >>> x←⍞,0⍴⍞←0⍴' ' >>> abc >>> x >>> abc >>> ⍴x >>> 3 >>> >>> >>> APL WRAP: >>> >>> x←⍞,0⍴⍞←0⍴' ' >>> abc >>> [APLWRAP does something really strange here like repeating a prior >>> line???] >>> ⍴x >>> 0 >>> >>> Something really wrong. >>> >>> Thanks. >>> >>> Blake >>> >>> >>> >> -- >> "The secret to creativity is knowing how to hide your sources." >>Albert Einstein >> >> >> http://soundcloud.com/davidlamkins >> http://reverbnation.com/lamkins >> http://reverbnation.com/lcw >> http://lamkins-guitar.com/ >> http://lamkins.net/ >> http://successful-lisp.com/ >> > > -- "Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy lies a small unregarded yellow sun. Orbiting this at a distance of roughly ninety-eight million miles is an utterly insignificant little blue-green planet whose ape-descended life forms are so amazingly primitive that they still think programming in Java is a pretty neat idea." -- With apologies to Douglas Adams, who I like to think would have appreciated this. http://soundcloud.com/davidlamkins http://reverbnation.com/lamkins http://reverbnation.com/lcw http://lamkins-guitar.com/ http://lamkins.net/ http://successful-lisp.com/
[Bug-apl] APLwrap update
For the APLwrap users: a big batch of patches was pushed to GitHub last night. See src/ChangeLog for a complete list. -- "The secret to creativity is knowing how to hide your sources." Albert Einstein http://soundcloud.com/davidlamkins http://reverbnation.com/lamkins http://reverbnation.com/lcw http://lamkins-guitar.com/ http://lamkins.net/ http://successful-lisp.com/
Re: [Bug-apl] Newly introduced bug
Hi Blake, that is exactly how things work already. Your case was just missing; I have added it. /// Jürgen On 10/02/2014 06:18 PM, Blake McBride wrote: Dear Juergen, That fixed the problem. Thanks. However, this scares me a little bit - random basic functionality failing. Perhaps I can suggest the following. Create a test suite that, for now, just tests a bench of somewhat random stuff that you think are good tests. Then, every time someone reports a problem, such as this one, you can add it to the test suite. This way we'd be sure that there is some coverage going on and that old bugs don't reappear. Perhaps it can be run with "make test". Please let me know if you think this is a good idea but you don't have time for it. Perhaps I, or someone else on the list, will do it. Thanks. Blake On Thu, Oct 2, 2014 at 11:04 AM, Juergen Sauermannwrote: Hi Blake, thanks, fixed in SVN 483. /// Jürgen On 10/02/2014 01:58 PM, Blake McBride wrote: IBM APL2: 'Y'∨.≠2 2⍴'X' 1 1 GNU APL: 'y'∨.≠2 2⍴'x' LENGTH ERROR 'y'∨.≠2 2⍴'x' ^ ^ Thanks. Blake