These look like decent explanations:

http://www.cs.binghamton.edu/~zdu/parsdemo/srintro.html

or, if you prefer a video presentation:

https://www.youtube.com/watch?v=Ga9b_E85Lwc

Mind you, the examples are for parsers left-to-right parsers
(indicated by LR in the alphabet soup used to label the things), while
J's parser is a right-to-left parser (which would probably be labeled
by RL along with some other bits of alphabet soup to describe the four
token pattern matching that it uses to decide what reduce action to
take).

Thanks,

-- 
Raul

On Wed, Dec 12, 2018 at 10:55 AM Jose Mario Quintana
<[email protected]> wrote:
>
> Why?  Can you elaborate?
>
> On Wed, Dec 12, 2018 at 10:07 AM Raul Miller <[email protected]> wrote:
>
> > Yes.
> >
> > Thanks,
> >
> > —
> > Raul
> >
> >
> > On Tuesday, December 11, 2018, Jose Mario Quintana <
> > [email protected]> wrote:
> >
> > > It seems to be just academic now.  Nevertheless, does your interpretation
> > > imply that,
> > >
> > >    5"
> > > 5"
> > >
> > > is not "reduced" but,
> > >
> > >    5}
> > > 5}
> > >
> > > is "reduced" in the context of shift-reduce parsers?
> > >
> > >
> > > On Mon, Dec 10, 2018 at 10:43 AM Raul Miller <[email protected]>
> > > wrote:
> > >
> > > > On Fri, Dec 7, 2018 at 7:53 PM Henry Rich <[email protected]>
> > wrote:
> > > > > What Ken meant by "resolve" is not clear to me.
> > > >
> > > > I expect he meant what people working with shift-reduce parsers would
> > > > call "reduce". (But Ken would not be inclined to call it that, I
> > > > imagine, because reduce was a similar/different well defined APL
> > > > operation.)
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Raul
> > > > ----------------------------------------------------------------------
> > > > 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
> ----------------------------------------------------------------------
> 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