tacit almost always relies on hooks and forks.  The word almost can probably be 
removed.

[: is still part of a train (hook or fork) even if it lets you "break out of 
the fork parsing rules".  @: or @ is the most common way to apply 2 verbs 
together, but the whole u@:v is still part of a "fork slot"

When writing code, I recommend sticking to forks, since every hook can be 
rewritten as one, and the parsing rules for forks seem the easiest to remember 
and are completely consistent in monad and dyad case.  An essay that might be 
helpful after you read the dictionary page on hooks and forks: 
http://www.jsoftware.com/jwiki/PascalJasmin/Use%20Forks%20Instead%20of%20Hooks



----- Original Message -----
From: Joe Bogner <[email protected]>
To: [email protected]
Cc: 
Sent: Sunday, September 15, 2013 2:10:43 PM
Subject: [Jprogramming] generating explicit from tacit

I'm learning the evaluation rules for tacit expressions, since that is
what's commonly posted as solutions. Is there a utility to generate an
explicit definition from a tacit definition?

For example, to generate a tacit expression from explicit

13 : '(+/ y) % # y'

+/ % #

Is there some routine to expand that out? (I've now learned that its a
fork).  It seems possible that it could expand out to multiple possible
variants -- since as I understand, it's a reduced form. I've looked at
fndisplay but didn't put too much time into it yet since I wasn't sure that
it's what I was looking for.


Along those same lines, j6 shows a representation of an expression in boxes
which I've found to be helpful to understand how an expression is grouped.
I haven't seen that same functionality in j7 or j8. Does it exist?

I find myself spending a fair amount of time taking an expression and then
looking up its parts in the Vocabulary to understand what its doing.
----------------------------------------------------------------------
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