Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread bill lam
I can trace it segfaulted at this line of lint > NB. get vbls , emsgs for each valence > ve=. (((>: lineno + |.!.0 >:@#@> valences),.(exptype>:2)) ;"1 0 stvbls) > checkvalence valences during processing the name parsemain_dissect_ perhaps you can go further to isolate the exact point of

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread 'Jon Hough' via Programming
Henry, you were right... kind of. I was using old versions of lint and dissect. Now I have upgraded to dissect version 4.6.6 lint version 1.18.9 ... and I get 12 errors. If you think this is an issue, I can start a new thread and show you the error list. This thread might not be the best

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Henry Rich
Hm. Maybe you need to upgrade your lint or dissect - I get no errors. Henry Rich works. (Incidentally dissect has 9 errors!) then... 13!:0 (1) lint ' ~addons/debug/dissect/dissect.ijs' causes J to crash. On Tue, 3/22/16, Henry Rich

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread 'Jon Hough' via Programming
Also, load 'debug/lint'     (command + K)    lint ' ~addons/debug/dissect/dissect.ijs' results in the same crash. On Tue, 3/22/16, 'Jon Hough' via Programming wrote: Subject: Re: [Jprogramming] Help, please - crash

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread 'Jon Hough' via Programming
My JVERSION:: JVERSION Engine: j803/2014-10-19-11:11:11 Library: 8.03.13 Qt IDE: 1.3.1/5.3.2 Platform: Darwin 64 Installer: J803 install InstallPath: ...my/install/path (yes, still on J803!) load 'debug/lint' lint ' ~addons/debug/dissect/dissect.ijs' works. (Incidentally dissect has

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Henry Rich
Would it make sense for O. to be a conjunction where v is a bitmask indicating the type of optimization requested? There might be many possibilities. Henry Rich On 3/21/2016 7:15 PM, Jose Mario Quintana wrote: One reason might be that Jx's adverb O. expects a verb in tail-recursive form and

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Jose Mario Quintana
One reason might be that Jx's adverb O. expects a verb in tail-recursive form and bad things might happen if it is not and currently it cannot determine automatically if it is. Jx is not for the faint of heart and will stay there but I am not sure about J Unbox or the official interpreter. On

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Henry Rich
I don't think the problem is in the code for Ctrl-K: 1. executing 13!:1 (1) without Ctrl-K is enough to create the problem; 2. Going into debug and then coming out leaves the system corrupted. It seems to me that there is some entity that corrupts the system if executed while in debug, causing

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-21 Thread Brian Schott
I think I created a verb to create box characters. I discovered that jhtextarea and jhtml expect different new lines. I also discovered that only Courier New compared to Courier and Monaco fonts connects the vertical bars. Thanks, Eric and Bob. z =: 9484 9516 9488 9500 9532 9508 9492 9524 9496

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Pascal Jasmin
Is there a link to the source code behind ctrl-K. I think the last time someone complained about it having a bug, the feature was removed for 4 months :P It appears as though the bug would be in what should be a relatively short bit of code? - Original Message - From: Henry Rich

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Pascal Jasmin
Can't think of a reason why we wouldn't want this in the official interpreter - Original Message - From: Jose Mario Quintana To: Programming forum Sent: Monday, March 21, 2016 9:54 AM Subject: Re: [Jprogramming] Tail recursion

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Henry Rich
He said it failed on both Windows and Linux for J64 (worked on J32). Untested on Mac. Henry Rich On 3/21/2016 4:22 PM, Thomas Costigliola wrote: Hi Henry, You didn't mention if Bill's test was on Windows or Linux. Does it happen on both platforms? Mac? On 03/21/2016 03:11 PM, Henry Rich

Re: [Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Thomas Costigliola
Hi Henry, You didn't mention if Bill's test was on Windows or Linux. Does it happen on both platforms? Mac? On 03/21/2016 03:11 PM, Henry Rich wrote: I have a reproducible crash on J64 when I run a large script after debug has been active, even if it no longer active. This appears to be in

[Jprogramming] Help, please - crash after suspension in J64

2016-03-21 Thread Henry Rich
I have a reproducible crash on J64 when I run a large script after debug has been active, even if it no longer active. This appears to be in the J Engine, and I am wondering if someone who is working on that would be willing to post a fix that could get into a release before next August, when

Re: [Jprogramming] Feedback on beginner's code

2016-03-21 Thread Alex Shroyer
Fellow newbie here. If you're not already, I recommend using Voc and NuVoc at the same time. NuVoc provides a nice overview or reminder, while Voc has more depth. I find it useful to acquire a few new

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Jose Mario Quintana
You are, almost, scarring me ;) On Mon, Mar 21, 2016 at 10:59 AM, Raul Miller wrote: > So, ok, one issue with while loops is that they let you deal with (for > example) markov processes. If you're doing something "random" such as > simulation, you do not necessarily want

Re: [Jprogramming] Adverbial Tacit Jym

2016-03-21 Thread Jose Mario Quintana
Raul wrote: " load '/users/rauldmiller/j64-804-user/temp/111.ijs' hg |value error: hg ...er... " However, I wrote in the post to which you replied: " You [Dan] might also like to make the script suitable for loading with the verb load. (I am allergic to run scripts within an unfaithful

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Raul Miller
So, ok, one issue with while loops is that they let you deal with (for example) markov processes. If you're doing something "random" such as simulation, you do not necessarily want to exit on the first "non-functional" result. Of course, if you were including the hidden variable(s) used to drive

Re: [Jprogramming] Tail recursion (bug hijack)

2016-03-21 Thread Jose Mario Quintana
Right, I never saw or found a satisfactory coding of a genuine while conjunction. However, in Jx one can afford, thanks to Thomas' effective implementation of the adverb O. for the Jx interpreter, to do the unthinkable: code a genuine while conjunction recursively! That is, a conjunction wTCO