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

2008-02-16 Thread Joel E. Denny
On Thu, 24 Jan 2008, Daniel Kraft wrote: > Hm, I would really like to test this new feature... However, I should have > mentioned I'm using the C++ language skeleton, and the push-parser seems to be > currently only implemented for C. > > Are there plans to port it to the C++ skeleton, too? If

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 Bob Rossi
On Tue, Jan 22, 2008 at 05:00:54PM +, Daniel Kraft wrote: > 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 >>>

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-21 Thread Bob Rossi
On Sun, Jan 20, 2008 at 09:48:11AM +, Daniel Kraft wrote: >>> 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. >>>

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

Re: Parsing from continuous stream

2008-01-19 Thread Bob Rossi
On Sat, Jan 19, 2008 at 05:33:32PM +, Daniel Kraft wrote: > 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. >

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