Re: Core syntax error handling

> I have repeatedly lobbied for a third alternative which I recall David Baron
> proposing originally. This alternative would tokenize the maximum initial
> tokenizable sequence of characters and would parse the maximum initial
> sequence of tokens matching the current 'stylesheet' production (or
> equivalent).

That would be much easier than implementations having to have forwards
compatible error handling at both token and grammar level!

It's guaranteed that if implementations have to tokenize *anything* as
valid, they will each do so in different ways, as the examples of grammar
error handling show.

Michael

Received on Friday, 28 February 2003 07:34:30 UTC