[Jprogramming] math/calculus

2020-10-20 Thread Ben Gorte
G'day I did fresh installs of j901 and the latest j902 (with DD) on my new Ubuntu installation (20.04). In j902 the much appreciated math/calculus package does not seem to work. *: (pderiv_jcalculus_ 1) 2 |syntax error | 0&( resstg vnofu derivsecant_jcalculus_ order) JVERSION Engine: j902/j6

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Raul Miller
Yes. Thank you, -- Raul On Tue, Oct 20, 2020 at 7:21 PM Henry Rich wrote: > > I can give you multiline noun DDs but the contents must follow J word > formation and fit into the DD syntax. In other words, if {{)n contains > other {{, they are going to be treated as starting nested DDs. > > Thi

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Henry Rich
I can give you multiline noun DDs but the contents must follow J word formation and fit into the DD syntax.  In other words, if {{)n contains other {{, they are going to be treated as starting nested DDs. This will be adequate for the example you gave, and for most uses I expect. Henry Rich O

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Raul Miller
Nice, thank you. That said one line noun DDs by themselves are silly. But they would address an issue with nested quotes -- so they would not be entirely silly. Thanks again, -- Raul On Tue, Oct 20, 2020 at 5:25 PM Henry Rich wrote: > > Not picking up : inside {{ }} is a bug. It looks

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Henry Rich
Not picking up  : inside {{ }} is a bug.  It looks for the : but then forgets to set the type to 3 instead of 4. When I started the implementation it was impossible to have LF in a quoted string inside an explicit definition, which made it impossible to do multiline noun DDs, and one-line noun

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Raul Miller
Ah, I see... or )a or )c decorators. I am sort of disappointed that I can't build nouns this way. (Or, at least, I haven't figured out how, yet.) {{ wd 'reset' }} 1 : 0 wd 'reset' ) {{)n wd 'reset' }} |domain error | (9 :') n wd ''reset'' ') I think it would be nice to be able to do

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Eric Iverson
Raul, You need the )v decorator. Try the following: f=: {{)v 23+y : x+y }} On Tue, Oct 20, 2020 at 4:01 PM Raul Miller wrote: > > Henry Rich wrote the specs for DD and did the implementation. It is now > up > > to all of us to shake it out and look for improvements. > > One thing I am hoping

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Raul Miller
> Henry Rich wrote the specs for DD and did the implementation. It is now up > to all of us to shake it out and look for improvements. One thing I am hoping for (and/or looking forward to) is some way of providing both the monadic and dyadic verb definitions. Specifically, in j902-beta-i: {{

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Eric Iverson
I think Bill will do those rpi builds when he has a chance. Not sure of the status of rpi 64, but we do intend to be there when the time is right. On Tue, Oct 20, 2020 at 1:56 PM Joey K Tuttle wrote: > Installed and works nicely in OSX. > > Any chance of having a Raspberry Pi build for this beta

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Joey K Tuttle
Installed and works nicely in OSX. Any chance of having a Raspberry Pi build for this beta? Also, are there any plans for a 64 bit Pi version? - joey > On 2020Oct 20, at 09:07, Eric Iverson wrote: > > DirectDefinition is a significant new feature in J902-beta-i. > > DD is a new way to define

Re: [Jprogramming] DirectDefinition - J902-beta-I-available

2020-10-20 Thread 'Mike Day' via Programming
... forgot to say my problem was in Windows 10, updating from J902-h, I think. I’ve managed to reinstall successfully using the zip-file. Mike Sent from my iPad > On 20 Oct 2020, at 18:05, Mike Day wrote: > > (I hope I’ve typed the subject line directly - away from home, I can’t email > easi

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread John Baker
I've been away for a few days and DD drops. One thing I immediately approve of is how this will cut down on one of my most despised programming language feature: "Quoted Code". I consider quoted code a red flag that indicates something is missing. One of my puzzle programs defined an inline adver

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread 'robert therriault' via Programming
My update went smoothly on j902 (and the shortcuts even worked now that I have straightened out my previous fuzzy thinking!) JVERSION Engine: j902/j64avx2/darwin Beta-i: commercial/2020-10-20T10:35:52 Library: 9.02.06 Qt IDE: 1.8.7/5.12.7(5.12.7) Platform: Darwin 64 Installer: J902 install In

Re: [Jprogramming] DirectDefinition - J902-beta-I-available

2020-10-20 Thread 'Mike Day' via Programming
(I hope I’ve typed the subject line directly - away from home, I can’t email easily from the laptop running J902, so typing afresh.) Similar to Pascal Jasmin, I think, j901-i won’t load. Here’s a précis of the error window: “ c:\...\bin\j.dll is either not designed to run on Windows or it contai

Re: [Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread 'Pascal Jasmin' via Programming
possibly as a result of clicking updateje command prior to running updatejqt command, I know get a dll error when trying to start jqt or  any of the update commands.  updatejqt is the process that started the dll errors though it appeared to complete successfully the first time. On Tuesday

[Jprogramming] DirectDefinition - J902-beta-i available

2020-10-20 Thread Eric Iverson
DirectDefinition is a significant new feature in J902-beta-i. DD is a new way to define verbs/adverbs/conjunctions that we think is a worthwhile improvement over n : f=: {{x+y}} NB. f=: 4 : 'x+y' 2 f 3 5 2{{x+y}}3 NB. 2(4 : 'x+y')3 5 The power of DD is clearer with multiple lines a