Thanks Pascal. I read your essay the other day and it was helpful.

I think I have two challenges right now - figuring out the part of speech
for each word and then how the parts are composed together.

For the parts of speech, I just found the Parts of Speech index
http://www.jsoftware.com/docs/help701/dictionary/partsofspeech.htm, which
looks like it will help considerably.

Looking at something like histogram=: <: @ (#/.~) @ (i.@#@[ , I.), it
probably will take me at least 45 minutes to go through each step to figure
out what its doing. Perhaps that's normal for a beginner? I'm starting to
get familiar with the individual verbs and adverbs -- I can pick many
without having to look them up (the tally, key, less than, index of), yet
I'm still confused on how they are composed together.

An automated way of evaluating parts of an expression step by step might be
helpful. I manually do that once I understand what constitutes a part of
expression. I'll also do this when I come across a complex, terse excel
formula. I'll use the excel "evaluate formula" box to evaluate and see each
step.

I did more googling and found this:
http://www.jsoftware.com/help/learning/91.htm, which mentions an EVM.ijs,
which no longer exists. I found a copy
http://www.sigapl.org/Archives/waterloo_archive/j/help/rstokes/book7/31a.htm.
I wasn't able to get it to work under the recent versions of J. I assume
there are two problems with that script -- getting it to work requires
updating it to use any language changes and updating it to reflect any
parsing rules that have changed. Is there anything like it that works in
current versions? I tried debug but I'm not sure I understand it or if it's
effective for tacit expressions.


km, yes that's what I was looking for on the representation in boxes. The
tree representation looks helpful too. Thanks.


On Sun, Sep 15, 2013 at 4:17 PM, km <[email protected]> wrote:

> About representation in boxes you may be thinking of the "foreign" 5!:2 .
>  See
>
> http://www.jsoftware.com/docs/help701/dictionary/dx005.htm
>
> Sent from my iPad
>
>
> On Sep 15, 2013, at 1:10 PM, Joe Bogner <[email protected]> wrote:
>
> > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to