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' <programm...@jsoftware.com 
> <mailto:programm...@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                                mur...@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

Reply via email to