Re: Push-parser (was: Parsing from continuous stream)

2008-01-24 Thread Daniel Kraft
[using push parser for project] Great, please let us know your success or failure stories. This new feature will be in the next release, and your feedback is highly appreciated. Hm, I would really like to test this new feature... However, I should have mentioned I'm using the C++ language

Re: Parsing from continuous stream

2008-01-22 Thread Daniel Kraft
Bob Rossi wrote: start_symbol: real_start_symbol { storeValueForProcession($1); YYACCEPT; } ; >> Thanks for the hint, it looks neat as far as I have seen yet! But I'm not yet sure how this will help me exactly; will yypush_parse return without this YYPUSHMORE whenever it encount

Re: Parsing from continuous stream

2008-01-20 Thread Daniel Kraft
I'm trying to use GNU bison to parse from a "continuous" stream, that is, I do want to implement a program similar to a shell: parse one "command" at a time, process it, and continue until end-of-stream is encountered. However, I do want my parser to return the parsed tree to the calling prog

Parsing from continuous stream

2008-01-19 Thread Daniel Kraft
Hi, I'm trying to use GNU bison to parse from a "continuous" stream, that is, I do want to implement a program similar to a shell: parse one "command" at a time, process it, and continue until end-of-stream is encountered. However, I do want my parser to return the parsed tree to the callin

Bison 2.1 failes to generate C++ parser

2006-08-06 Thread Daniel Kraft
or yylex are missing (they miss of course), but because the generated parser-class does not contain a yylex-member at all! So I get the compile-time error, that yy::parser::parse() references the unknown function yylex! Although the manual says that yylex is a member of parser. Many tha