[Jprogramming] introducing j plus plus (jpp) - follow-up

'Pascal Jasmin' via Programming programming at jsoftware.com
Sun Sep 3 00:38:12 UTC 2017


I don't get this error.  Though, I've been slow to fix a bug related to multiline definitions that do not have a blank line following them.




________________________________
From: Murray Eisenberg <murray at math.umass.edu>
To: programming at jsoftware.com 
Sent: Saturday, September 2, 2017 4:55 PM
Subject: Re: [Jprogramming] introducing j plus plus (jpp) - follow-up



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