Lex Gurus,
I am trying to learn flex and bison and I started with infix calc example
specified in the manual.
Everything is nomal when I use yylex() function specified in the manual. But
I wanted to generate tokens using flex and I created following rules and it
never worked:(
I tried to f
Jeannot Langlois wrote:
In a reentrant GLR parser, how must the yyparse() caller proceed to
access the filled AST after a successful parse? I was expecting
yyparse() to return a pointer (whose type could be custom-defined by
the user just like the yylex() and yyparse() input parameter
At 12:11 -0400 2005/05/08, Jeannot Langlois wrote:
I am not sure the %glr parser currently works in pure mode. Let's cc
Paul Hilfinger, who wrote it, to see if he can let us know.
-- Hans Aberg Hi Hans (and Hi all), Just a few minutes after I
posted the question to the mailing list, I found what
In a reentrant GLR parser, how must the yyparse() caller proceed to
>access the filled AST after a successful parse? I was expecting
>yyparse() to return a pointer (whose type could be custom-defined by
>the user just like the yylex() and yyparse() input parameters) to
>the properly-fil
[Please keep the Help-Bison cc, so that others can help.]
At 13:28 +0200 2005/05/08, Carsten Krüger wrote:
HA> I recall Paul Eggert said that the Bison generated parser, which he
HA> wrote, now is fully pure.
Which parser?
The C-parser skeleton file. But your subsequent
explanations suggests that
At 23:26 +0200 2005/05/04, Carsten Krueger wrote:
can anybody tell me how this lexer-parser-combination would look if it
is a reentrant parser?
I recall Paul Eggert said that the Bison generated parser, which he
wrote, now is fully pure. If you have some data to be passed to the
parser, that shou
At 17:47 -0400 2005/05/07, Jeannot Langlois wrote:
In a reentrant GLR parser, how must the yyparse() caller proceed to
access the filled AST after a successful parse? I was expecting
yyparse() to return a pointer (whose type could be custom-defined by
the user just like the yylex() and yyparse(