Retrieving the last "$$"

2009-07-23 Thread Filip van der Meeren
Good afternoon, I am using bisons yypush_parse to evaluate my text. But when the parser has finished parsing, I need to get a hold on the last "$$". Scanning through the bison manual as well as the internet came up empty for me, so you guys/girls are my last resort... Do you have any idea h

Re: Retrieving the last "$$"

2009-07-23 Thread Joel E. Denny
On Thu, 23 Jul 2009, Filip van der Meeren wrote: > I am using bisons yypush_parse to evaluate my text. Given that Bison's push parsing feature is relatively new, we're eager to find out what you're using it for. Is it working well for you so far? > But when the parser has finished parsing, I n

Re: Retrieving the last "$$"

2009-07-23 Thread F van der Meeren
On 23 Jul 2009, at 17:53, Joel E. Denny wrote: On Thu, 23 Jul 2009, Filip van der Meeren wrote: I am using bisons yypush_parse to evaluate my text. Given that Bison's push parsing feature is relatively new, we're eager to find out what you're using it for. Is it working well for you so f

Re: Retrieving the last "$$"

2009-07-23 Thread Joel E. Denny
On Thu, 23 Jul 2009, F van der Meeren wrote: > > > But when the parser has finished parsing, I need to get a hold on the last > > > "$$". > > > > By "the last $$", do you mean the semantic value of the start symbol? > > One way is to add a new start symbol and rule: > > By "$$" I mean the last s

Re: Retrieving the last "$$"

2009-07-23 Thread F van der Meeren
Thank you, that worked. If you want I can keep you updated about the project... On 23 Jul 2009, at 18:35, Joel E. Denny wrote: On Thu, 23 Jul 2009, F van der Meeren wrote: But when the parser has finished parsing, I need to get a hold on the last "$$". By "the last $$", do you mean the se

Re: Retrieving the last "$$"

2009-07-23 Thread Joel E. Denny
On Thu, 23 Jul 2009, F van der Meeren wrote: > If you want I can keep you updated about the project... We still consider the push parsing interface to be experimental, so any feedback you might have as you develop your project with it should help guide its evolution. Thanks.