[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: push parser implemenation
From: |
Bob Rossi |
Subject: |
Re: push parser implemenation |
Date: |
Fri, 17 Mar 2006 20:22:43 -0500 |
User-agent: |
Mutt/1.5.9i |
On Fri, Mar 17, 2006 at 02:42:52PM -0500, Bob Rossi wrote:
> Hi,
>
> I've spent some time recently working on the push parser implementation.
> I'd like to share my current patch, which passes the test suite and
> works on my particular grammar as a push parser.
I should have mentioned, you can use the push-parser like this,
void *ctx = yypvarsinit ();
do {
yyparse (ctx);
set_yychar (ctx, yylex ());
} while (get_yyresult (ctx) != 0);
free (ctx);
Bob Rossi