A, B, and C (light blue) are labels/references. In a better GUI they would be shown with arrows, if possible. In the first use, the data is shown, with the label (say, A) in the cell below; the other As refer to the same data. If you click on a reference the letter is replaced by the data.

No right-clicks are defined.


@ @: & &: [ ] ~ hook fork all have no representation in the display. I am not trying to show what the J sentence IS, but what it is DOING. So, in

a +@:* b

you will see a, b, *, and +, connected in the correct order. @: will not be visible. This is very different from Roger's display.


There is a selectbox to control the maximum and minimum font sizes.


If you have a setup like

a =. 'a';'b';'cd'
ds '*@#@> a'

You will see

      a

  +-+-+--+
  |a|b|cd|
  +-+-+--+

>

#

*

   1 1 1

You see the inputs and the final result, but you don't see the result of > because the stack *@#@> has rank 0 and must be applied to individual cells independently. To look deeper, CTRL-click the result (1 1 1). This calls for detail in that result and everything that contributes to it. To begin with, it shows the shapes of the results.

It will also expose a 'selector', a green box where you can select which cell of a you would like to work on. double-click the selector, and enter, say, 1. Press ENTER. Now you see the results of all the verbs on cell 1. This selection can continue through multiple levels.

As the grid is arranged, the results are in the right-hand column, and the verbs are one column to the left of that. If you have monads, that's all you need: two columns. For dyads, the x operand comes in to the left of the verb, spaced as required to leave an empty column between stacks of monads.

Hooks and forks use the label/reference mechanism described above to handle the repeated operands.


Verbs are either expandable or unexpandable. An expandable verb is one whose outputs are known from context to be collectable into a result. For example, in

> a

the > is expandable, because you have implied that the results of the individual cells can be assembled into a single result. In

#@> a

the > is not expandable, but the # is.  In

#@:> a

both verbs are expandable.

You can click an expandable verb to look at individual cells. I don't distinguish expandable/unexpandable in the display; if that's a nuisance I can fix it easily, if we can come up with a good visual effect.

Henry Rich



On 12/30/2012 11:16 AM, Brian Schott wrote:
Henry,

Your ds output is still a mystery to me. For example in your initial
example, what did the capital letters A, B and C denote?


Even before you mentioned the missing mouse-click reactions in J7, I
have not seen and right-click responses in J6 and the plain clicks
seem to be unpredictable. What fields are (control-)clickable? I am
using an intel processor Mac, so that could explain some of the click
non-responses.

When I first entered Linda's first example, the argument shapes in
green did not show, but when I clicked on a couple of primitives, they
showed up, one at a time, and then disappeared when I click again. Is
that as it should be?

I never did see any "@" signs in the grid. Is that correct.
The upper left cell in the grid repeats the argument to ds, but the
font is so small, it is illegible.


It looks like your tree arrangement is different from Roger's tree
representation arrangement. Can you say more about this, please?

This does look like a nice addition to Roger's tree representation,
especially because it includes the verb arguments in the tree. But I
could use some hand holding to "see" the tree better. I am color
defective but I think I see the different colors well enough. I am
having a hard time connecting/distinguishing the tree branches. It's
almost like a problem with pixelization, so that I don't even see the
tree, much less the forest (of course there is no forest here, I am
just trying an analogy).

Thanks very much,

On Sun, Dec 30, 2012 at 9:35 AM, Henry Rich <[email protected]> wrote:
I have recently ported a grid app from J6 to J7, and mouse-clicks are not
being sent to my gridhandler.  The grid displays properly, but typeout at
the start of gridhandler shows that gridhandler is never being called.  Does
anyone know what I have to do to enable clicking?

Henry Rich
----------------------------------------------------------------------
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