[imps] Standardizing "parse error" messages
ryan at theryanking.com
Sun Jan 11 18:54:51 PST 2009
On Jan 10, 2009, at 4:19 AM, James Graham wrote:
> Edward Z. Yang wrote:
>> Edward Z. Yang wrote:
>>> The Python and Ruby implementations of HTML5 both extend the spec a
>>> little by distinguishing between different types of parse errors.
>>> is quite useful functionality, but also proprietary. It would be
>>> if we could see these error codes and messages standardized in some
>>> fashion, so that translation efforts can be centralized, etc. Have
>>> been any plans to do so?
>> I sent this message a while back, and didn't see any response. So I'm
>> prodding the issue again, and I've also CC'ed the imps list.
> There have been no plans that I know of but you are welcome to reuse
> type definitions if you like. I also have no objections to documenting
> them in some implementation-independent format if other people are
> likely to find them useful.
I think this is a good idea, too. Just keeping the ruby and python
ports in sync is hard enough.
More information about the Implementors