Pascal, I am thinking the user would just supply 1 command, but it could be a command that contains multiple commands, like the repeats conjunction produces. Below I have copied the example I suggested in my first post today. I may have forgotten to give the example of its use: (3 repeats fd)10 .
"For example, there is a defined conjunction, repeats, as follows. The verb v might be `fd` from above in a silly example to repeatedly move fd in steps, rather than all at once. NB. enable one-liner turtle movement sequences repeats=: conjunction define for. i. m do. v y end. : for. i. m do. x v y end. ) On Sat, Mar 22, 2014 at 2:24 PM, Pascal Jasmin <[email protected]>wrote: > > how would J know how to parse the multiplecommands differently from the > way it is presently > > you could have a ; separator for commands? > > ';' cut 'fd 20 ;rt 55' > +------+-----+ > |fd 20 |rt 55| > +------+-----+ > ';' cut 'fd 20 ' > +------+ > |fd 20 | > +------+ > > in terms of overall design, having js render the full list is an approach > you could stick to for v1.0. > > > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
