| Store | Cart

Re: Inverting the parser

From: Dave Mitchell <dav...@iabyn.com>
Thu, 21 Aug 2014 11:32:39 +0100
On Tue, Aug 19, 2014 at 01:21:00PM -0000, Father Chrysostomos wrote:
> Well, I have good news for you:  yyunlex prevents me from eliminating> the pending token stack.  (See the last commit on the sprout/parser> branch.)  As long as there are pending tokens, yyemit cannot return> to yylex and have everything come out the right order.  So calling> the parser from yylex simply cannot work.> > I still want to change the order of the pending token stack, though.> I have said 'Grrrr!' enough times. :-)

Ah good! I think a re-entrant parser would have done my head in more than
a backwards pending token stack.

I have no objection to the backwardsness being fixed though.

-- 
In economics, the exam questions are the same every year.
They just change the answers.

Recent Messages in this Thread
Father Chrysostomos Aug 19, 2014 01:21 pm
Dave Mitchell Aug 21, 2014 10:32 am
Dave Mitchell Aug 18, 2014 01:00 pm
Messages in this thread