Re: improving yysyntax_error()

2007-06-21 Thread Hans Aberg
It happened 21 Jun 2007, at 22:51, that Christian Schoenebeck wrote: Es geschah am Thursday, 21. June 2007 22:15 als Hans Aberg schrieb: With "intergrated type completion support" I mean a convenient way for parser developers (or actually interpreter developers) to let the user "complete" the c

Re: improving yysyntax_error()

2007-06-21 Thread Christian Schoenebeck
Es geschah am Thursday, 21. June 2007 20:18 als Hans Aberg schrieb: > How should %atomic be implemented? How it "should" be implemented is the wrong question, or at least addressed to the wrong person, since I'm not familiar enough with the bison implementation yet. That was actually my main rea

Re: improving yysyntax_error()

2007-06-21 Thread Christian Schoenebeck
Es geschah am Thursday, 21. June 2007 22:15 als Hans Aberg schrieb: > > How it "should" be implemented is the wrong question, or at least > > addressed to > > the wrong person, since I'm not familiar enough with the bison > > implementation > > yet. That was actually my main reason to write to this

Re: improving yysyntax_error()

2007-06-21 Thread Hans Aberg
It happened on 21 Jun 2007, at 22:02, that Christian Schoenebeck wrote: Es geschah am Thursday, 21. June 2007 20:18 als Hans Aberg schrieb: How should %atomic be implemented? How it "should" be implemented is the wrong question, or at least addressed to the wrong person, since I'm not famil

Re: improving yysyntax_error()

2007-06-21 Thread Christian Schoenebeck
Es geschah am Thursday, 21. June 2007 20:18 als Hans Aberg schrieb: > How should %atomic be implemented? How it "should" be implemented is the wrong question, or at least addressed to the wrong person, since I'm not familiar enough with the bison implementation yet. That was actually my main rea

Re: improving yysyntax_error()

2007-06-21 Thread Hans Aberg
It happened on 21 Jun 2007, at 16:43, that Christian Schoenebeck wrote: Es geschah am Thursday, 21. June 2007 16:08 als Hans Aberg schrieb: No, in this model, the lexer matches patterns as usual, only when the match has been made, returns the multibyte character byte by byte. Doesn't make a d

Re: improving yysyntax_error()

2007-06-21 Thread Christian Schoenebeck
Es geschah am Thursday, 21. June 2007 16:08 als Hans Aberg schrieb: > No, in this model, the lexer matches patterns as usual, only when the > match has been made, returns the multibyte character byte by byte. Doesn't make a difference. The problem for the UTF-8 part is still the same, no matter i

Re: improving yysyntax_error()

2007-06-21 Thread Hans Aberg
It happened on 21 Jun 2007, at 15:43, that Christian Schoenebeck wrote: Es geschah am Thursday, 21. June 2007 13:12 als Hans Aberg schrieb: On the one hand, you try to use Bison for something it wasn't designed for, so unless to can come up with good motivations, getting the change is unlikely

Re: improving yysyntax_error()

2007-06-21 Thread Christian Schoenebeck
Es geschah am Thursday, 21. June 2007 13:12 als Hans Aberg schrieb: > On the one hand, you try to use Bison for something it wasn't > designed for, so unless to can come up with good motivations, getting > the change is unlikely to happen. Depends on which motivation you mean. A motivation for doi

Re: improving yysyntax_error()

2007-06-21 Thread Hans Aberg
On the one hand, you try to use Bison for something it wasn't designed for, so unless to can come up with good motivations, getting the change is unlikely to happen. Remember that the development is done by volunteers that do what they want. On the other hand, one way to extend Flex & Bison

improving yysyntax_error()

2007-06-20 Thread Christian Schoenebeck
Hi! I would like to improve the quality of error messages produced by yysyntax_error(). I know the theory behind LALR(1) parsers, but unfortunately I'm not very used to the bison skeleton parser implementation yet, so I hope you can help me a bit. First the reason: I'm strictly opposed to havi