[Jprogramming] introducing j plus plus (jpp) - follow-up
Raul Miller
rauldmiller at gmail.com
Sat Sep 2 22:20:30 UTC 2017
I can't tell you what's wrong with your configuration, but the file
name error suggests that the file
'/users/murray/j64-806-user/jpp/jpp_test.ijs does not exist. You
should be able to test that in finder (since that's an osx file naming
pattern).
Also, the right argument to timespacex needs to be quoted. (And, you
should not have a : in that particular line.)
I hope this helps,
--
Raul
On Sat, Sep 2, 2017 at 4:55 PM, Murray Eisenberg <murray at math.umass.edu> wrote:
> Further, if now in the same jqt session to use menu command Tools > Package Manager, I get error:
>
> | runpacman_jpacman_ 0
> |file name error: script
> | 0!:0 y[4!:55<'y'
> |value error: runpacman_jpacman_
> | runpacman_jpacman_ 0
>
> What’s wrong?
>
>> On 2 Sep2017, at 4:53 PM, Murray Eisenberg <murray at math.umass.edu> wrote:
>>
>> In j806 (beta 2017-08-28) for macOS, I loaded jpp2.ijs, then tried to run the provided script jpp_test.ijs from an open script window in J.
>>
>> If I simply selected option to run all lines of the script, I got error:
>>
>> | file name error: scriptd
>> | 0!:1 y[4!:55<‘y'
>>
>> If, instead, I used
>>
>> load '/users/murray/j64-806-user/jpp/jpp_test.ijs’
>>
>> then I got error:
>>
>> |file name error: script
>> | 0!:0 y[4!:55<‘y'
>>
>> Instead, I then tried evaluating directly the sentence
>>
>> 4 timespacex: +/ i.1000
>>
>>
>> tried but, contrary to what is said in the original post below, this just generates a spelling error.
>>
>> What am I doing wrong? (Or is something wrong with jpp in j806?)
>>
>>> On18 Mar 2017 01:25:57 +0000,'Pascal Jasmin' <programming at jsoftware.com <mailto:programming at jsoftware.com>> wrote:
>>>
>>>
>>> A preparser for J that autocloses parentheses, and makes embedding quotes easier. Also has user-defined primitives.
>>>
>>>
>>> https://github.com/Pascal-J/jpp <https://github.com/Pascal-J/jpp>
>>>
>>> as examples,
>>>
>>> 4 timespacex: +/ i.1000
>>>
>>> is equivalent to
>>>
>>> 4 timespacex '+/ i.1000'
>>>
>>> the suggested F11 macro is pretty neat. Runs a section of code in a file. Unlike ctrl-R, you don't need to be at the top level line in order to run the multiline group that encloses the current line.
>>
>> ——
>> Murray Eisenberg murray at math.umass.edu <mailto:murray at math.umass.edu>
>> Mathematics & Statistics Dept.
>> Lederle Graduate Research Tower phone 240 246-7240 (H)
>> University of Massachusetts
>> 710 North Pleasant Street
>> Amherst, MA 01003-9305
>>
>>
>>
>>
>
> ——
> Murray Eisenberg murray at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower phone 240 246-7240 (H)
> University of Massachusetts
> 710 North Pleasant Street
> Amherst, MA 01003-9305
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list