Even simpler:
)CLEAR
CLEAR WS
d←100 100⊤199
2 ⎕TF 'd'
d←1 99
d←100 100⊤200
2 ⎕TF 'd'
d←2 0J0
d←100 100⊤201
2 ⎕TF 'd'
d←2 1
The 0J0 is the winner!
--blake
On Tue, Jun 10, 2014 at 11:48 PM, Blake McBride wrote:
> I can now duplicate the problem ever
I can now duplicate the problem every time!
Tmfmt 202
2:02
Tmfmt 201
2:01
Tmfmt 159
1:59
Tmfmt 158
1:58
Tmfmt 200
DOMAIN ERROR
Tmfmt[1] z←(2 0⍕⍉d[,1;]),':',2 0⍕⍉(d←(2⍴100)⊤,d)[,2;]
^ ^
2 ⎕TF 'd'
d←(2 1⍴2 0J0)
Only 200 causes
I now see that I had a typo in my tests the last time I encountered the
problem. Too bad. I have run that function in a loop more than 1000 times
and it works every time. I've only had it crash twice. I did'n change any
code in Time or Tmfmt, and they take no arguments, so there shouldn't be
an
On 2014-06-10 14:08:47, Blake McBride wrote:
> It is funny because I call this function a lot. Sometimes it works, other
> times it gives me the domain error. Here are some more facts:
>
> DOMAIN ERROR
> Tmfmt[1] z←(2 0⍕⍉d[,1;]),':',2 0⍕⍉(d←(2⍴100)⊤,d)[,2;]
> ^ ^
It is funny because I call this function a lot. Sometimes it works, other
times it gives me the domain error. Here are some more facts:
DOMAIN ERROR
Tmfmt[1] z←(2 0⍕⍉d[,1;]),':',2 0⍕⍉(d←(2⍴100)⊤,d)[,2;]
^ ^
d
2
0
⍴d
2 1
0↑0⍴d
→
)SI
Hi Blake,
thanks, fixed in SVN 318.
/// Jürgen
On 06/09/2014 05:15 PM, Blake McBride wrote:
==
Assertion failed: 0
in Function: init
in file: Cell.cc:48
Call stack:
--
Ditto.
On Tue, Jun 10, 2014 at 8:55 AM, Blake McBride wrote:
> Builds for me now. Thanks!
>
>
> On Tue, Jun 10, 2014 at 10:39 AM, Juergen Sauermann <
> juergen.sauerm...@t-online.de> wrote:
>
>> Hi David,
>>
>> thanks, hopefully fixed in SVN 317.
>>
>> /// Jürgen
>>
>>
>>
>> On 06/10/2014 05:3
It may be a daylight savings time issue, but it is still wrong. The save
and load time should agree. Since the save time is correct, the load time
is not being calculated correctly (i.e. not taking daylight savings time
into account like the save does). Here is an example showing what is in
the
DEFN ERROR would be sufficient.
On Tue, Jun 10, 2014 at 11:22 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> the debug output is on purpose. Will be replaced by more
> meaningful texts long-term.
>
> /// Jürgen
>
>
>
> On 06/10/2014 06:00 PM, Blake McBride wrote
It doesn't allow continuation of a stop:
GNU APL:
∇test
[1] '1'
[2] '2'
[3] '3'
[4] '4'
[5] ∇
test
1
2
3
4
S∆test←3
test
1
2
test[3]
→3
test[3]
The branch to 3 should have caused the continuation of the program.
IBM APL 2:
∇TEST
[1] '1'
[2] '2'
[3] '3'
[4]
Hi Blake,
the debug output is on purpose. Will be replaced by more
meaningful texts long-term.
/// Jürgen
On 06/10/2014 06:00 PM, Blake McBride wrote:
Debug output:
)CLEAR
CLEAR WS
∇gg[⎕]∇
bad editor command '∇gg[⎕]∇' : problem detected at 'Nabla.cc:242'
DEFN ERROR+
∇gg[⎕]∇
Hi Blake,
works on my machine:
* )wsid QQQ**
**WAS CLEAR WS**
** )SAVE QQQ**
**2014-06-10 18:15:14 (GMT+2)**
** )LOAD QQQ**
**
**WARNING: filename
/home/eedjsa/projects/juergen/apl-1.3/src/workspaces/QQQ**
**is ambiguous because another file**
**/home/eedjsa/projects/juerge
Hi Elias and Peter,
first of all, I am planning to put the commands )LOAD, )SAVE, ... into a
separate
function. That will replace lines 72-132 in Command.cc by a call to a
new function.
The remaining lines cannot be broken down further - they are the "main
loop" of APL
Regarding terminal I/O
Debug output:
)CLEAR
CLEAR WS
∇gg[⎕]∇
bad editor command '∇gg[⎕]∇' : problem detected at 'Nabla.cc:242'
DEFN ERROR+
∇gg[⎕]∇
^
On Mon, Jun 9, 2014 at 1:00 PM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> thanks, fixed in SVN 316.
>
>
It is off by one hour:
)CLEAR
CLEAR WS
)WSID test
WAS CLEAR WS
)SAVE
2014-06-10 10:57:14 (GMT-5) test
)LOAD test
SAVED 2014-06-10 11:57:14 (GMT-5)
On Tue, Jun 10, 2014 at 10:43 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> thanks, shou
Builds for me now. Thanks!
On Tue, Jun 10, 2014 at 10:39 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi David,
>
> thanks, hopefully fixed in SVN 317.
>
> /// Jürgen
>
>
>
> On 06/10/2014 05:36 PM, David B. Lamkins wrote:
>
>> I'm seeing the same thing.
>>
>> $ gcc --version
In the Android version that is a bit problematic still. This is because I
have no control over the directories where I can save files. What I do is
to construct a command line dynamically and call the apl_init() (or was it
init_apl()? I'm on my phone now so I can't check) function with it.
Note th
Hi Blake,
thanks, should be fixed in SVN 317.
/// Jürgen
On 06/07/2014 07:25 PM, Blake McBride wrote:
Look at the reported time the system gives on )LOAD
)CLEAR
CLEAR WS
)WSID test
WAS CLEAR WS
⎕TS
2014 6 7 12 22 28 840
)save
2014-06-07 12:22:32 (GMT-5) test
)LO
Hi David,
thanks, should be fixed in SVN 317.
/// Jürgen
On 06/07/2014 12:30 AM, David Lamkins wrote:
Is the output of )FNS supposed to wrap according to quad-PW?
It seems that certain lines of the display overflow quad-PW by some
amount related to the presence of long function names on a l
Hi David,
thanks, should be fixed in SVN 317.
/// Jürgen
On 06/07/2014 05:29 PM, Blake McBride wrote:
)LOAD Utils
LOC: 'SystemVariable.cc:421' at SystemVariable.cc:421
SAVED 2014-6-3 5:23:27 (GMT-5)
Hi David,
thanks, should be fixed in SVN 317.
/// Jürgen
On 06/06/2014 07:55 PM, David Lamkins wrote:
The quad-SYL listing in the info file does not match what is currently
implemented.
--
"The secret to creativity is knowing how to hide your sources."
Albert Einstein
http://soundcloud
Hi David,
thanks, hopefully fixed in SVN 317.
/// Jürgen
On 06/10/2014 05:36 PM, David B. Lamkins wrote:
I'm seeing the same thing.
$ gcc --version
gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)
On Mon, 2014-06-09 at 14:48 -0500, Blake McBride wrote:
...
mv -f .deps/apl-Bif_F12_FORMAT.Tpo .de
Hi,
I have added $HOME/.config/gnu-apl/preferences in SVN 317.
The files read are now:
*1. /etc/gnu-apl.d/preferences (or /usr/local/etc/gnu-apl.d/preferences)**
**2. $HOME/.gnu-apl/preferences, and**
**3. $HOME/.config/gnu-apl/preferences**(if 2.failed).**
*
I believe that paths on the com
I'm seeing the same thing.
$ gcc --version
gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)
On Mon, 2014-06-09 at 14:48 -0500, Blake McBride wrote:
> ...
> mv -f .deps/apl-Bif_F12_FORMAT.Tpo .deps/apl-Bif_F12_FORMAT.Po
> g++ -DHAVE_CONFIG_H -I. -I.. -rdynamic -g -O2 -MT apl-Function.o
> -MD -MP -
Good for you Elias. That is precisely along the lines I am working -
build the interpreter as a dll wrapped in the I/O mechanism of your choice.
respect…
Peter
On 2014-06-10, at 6:03 AM, Elias Mårtenson wrote:
> I am on vacation right now, so what better time to work on some fun open
> sourc
I am on vacation right now, so what better time to work on some fun open
source projects?
This year I'm working on GNU APL for Android, and I've reached a milestone
today. The application runs, I can enter expressions and I get results back.
The way I've implemented is that I have compiled GNU AP
26 matches
Mail list logo