Here's how I would describe J's parsing of
3 : 0''
  'etc.'
)

First, that initial line is broken up into words:
+-+-+-+--+
|3|:|0|''|
+-+-+-+--+

Next, this sentence gets parsed according to the rules outlined
in http://www.jsoftware.com/help/dictionary/dicte.htm

Specifically:
queue                 stack           action
§ 3 : 0 ''                            move
§ 3 : 0               ''              move
§ 3 :                 0 ''            move
§ 3                   : 0 ''          move
§                     3 : 0 ''        4 Conj
§                     verb ''         move
                      § verb ''       0 Monad

In other words, first the system needs to replace 3 : 0 with
the body of the verb it represents (and to do so it needs to
read that verb's definition, from the following lines).  And then,
once it has done so, it will evaluate that verb as a monad
with the right argument ''.

If there's any problems understanding this, it might be that
this example is so simple -- there's almost nothing going
on here to understand.

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

Reply via email to