As usual the limited amount of knowledge I have comes from reading the forums 
and spending some time with Henry Rich's "J for C Programmers". 

In this case it was Chapter 38 
http://www.jsoftware.com/help/jforc/parsing_and_execution_i.htm

Chapter 39
http://www.jsoftware.com/help/jforc/parsing_and_execution_ii.htm

and Chapter 40
http://www.jsoftware.com/help/jforc/forks_hooks_and_compound_adv.htm

It is not easy going, but it looks like it may have stuck with me after the 
last reading.

Cheers, bob

> On Jul 30, 2018, at 8:02 PM, Brian Schott <[email protected]> wrote:
> 
> *It may be difficult to find the justification for Rob's fine answer in the
> Dictionary.*
> *I found the following link helpful, especially it's statement, "... **a
> train of two adverbs produces an adverb ..."*
> 
> *http://www.jsoftware.com/help/dictionary/dictf.htm
> <http://www.jsoftware.com/help/dictionary/dictf.htm>*
> 
> And then the trace feature suggests the order of execution of the adverbs.
> 
>   load'trace'
>      trace'+ /\ 1 2 3 4 5'
> --------------- 3 Adverb -----
> +
> /
> +/
> --------------- 3 Adverb -----
> +/
> \
> +/\
> --------------- 0 Monad ------
> +/\
> 1 2 3 4 5
> 1 3 6 10 15
> ==============================
> 1 3 6 10 15
> 
> 
> 
> On Mon, Jul 30, 2018 at 6:13 PM, Piet Google <[email protected]> wrote:
> 
>> Very clear.   Thank you.
>> Are you relying on p.70 part b) of the old "J introduction and dictionary”?
>> I’ve spent hours trying to get my head around this page.
>> Wonderfully cryptic, enlightening and obscure — all at the same time.
>> 
>>> On 31 Jul 2018, at 6:56 am, 'robert therriault' via Programming <
>> [email protected]> wrote:
>>> 
>>> Good question Piet,
>>> 
>>> I needed to think a bit about how adverbs can be written tacitly. Others
>> are considerably more advanced, but here goes:
>>> 
>>>   at=: 1 : '%:@:(u/) ' NB. Original adverb
>>>  + at i. 8
>>> 5.2915
>>>  a1t=: %:@:     NB. First part of adverb is also an adverb
>>>  +/ a1t i. 8
>>> 5.2915
>>>  a2t=: /        NB. Second part of adverb - obviously an adverb
>>>  + a2t a1t i. 8
>>> 5.2915
>>>  a3t=: / (%:@:) NB. Two adverbs together form a new adverb -
>> parenthesis are required
>>>  + a3t i. 8
>>> 5.2915            NB. Tacit "a3t" has the same result as explicit "at"
>>> 
>>> Cheers, bob
>>> 
>>>> On Jul 30, 2018, at 1:32 PM, Piet Google <[email protected]> wrote:
>>>> 
>>>> t=: 1 : '%:@:(u/) y'
>>> 
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> 
> 
> 
> -- 
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to