Re: Top Dowm Variable Communication

2007-08-24 Thread Ramón García
Sorry, my initial answer was not quite correct. The way to do this in Bison is to access the semantic value of the previous non-terminal in the parent rule as $0. For example: A: B C D C: X { $0 is the semantic value of B} This is risky. One has to take care that in all places where a non-term

Re: Top Dowm Variable Communication

2007-08-22 Thread Ramón García
You have to put the register_name as an attribute of Register_decl_control %union { struct register_decl_contd_data { const char* register_name; /* other data that you want for register_decl_contd */ } register_decl_contd_data; // Other union members for other terminals and non

State of the LR(1) and

2007-07-30 Thread Ramón García
I am interested in developing a LR(1) optimized parser generator similar to the one implemented in Menhir. I have seen discussion about it in the mailing lists, but I cannot find any code in the CVS tree. What is the current status of implementation? I am also interested in implementing Burke-Fish

Re: Are Google summer of code 2006 ideas still available?

2007-04-01 Thread Ramón García
The deadline for submission of projects for Google summer of code grants has passed. Never theless, I might be insterested in implementing Burke-Fisher error correction, within time limits. Ramon ___ help-bison@gnu.org http://lists.gnu.org/mailman/lis

Re: Are Google summer of code 2006 ideas still available?

2007-04-01 Thread Ramón García
I think that state compacting is not incompatible with good error handling. Did you read the paper of Burke-Fisher error correction? It is not incompatible with state merging, though more information must be stored in the stack. ___ help-bison@gnu.org

Re: Are Google summer of code 2006 ideas still available?

2007-03-20 Thread Ramón García
As for the "Burke-Fisher Error Correction", error recovery is poor in Bison because the LALR(1) algorithm may, when an error token appears in the input, performed some reductions before the error is reported. Perhaps I am wrong, but I think that these wrong reductions also exists when using effi

Are Google summer of code 2006 ideas still available?

2007-03-19 Thread Ramón García
Hello, I am interested in implementing LR(1) grammar support, which was proposed for the 2006 edition of Google Summer of Code. Is it posible to request this project for this year? Thanks, Ramon ___ help-bison@gnu.org http://lists.gnu.org/mailman/li