It’s just data

pegurl.js

pegurl.js is the result of two days worth of work.  While it is undoubtedly buggy and incomplete, it does pass 255 out of 256 tests and that last test is wrong.  For comparison: results from other user agents.

Current work products:

Future work:


Now in spec form

Posted by Sam Ruby at

This is good. But I have one observation: Underscore is not a commonly used word separator in JavaScript. Functions like percent_encode() should be named percentEncode() and so on.

Posted by Asbjørn Ulsberg at

Fixed (047e8c0 and 13e58cb).  Thanks!

I’ve left constants using UNDERSCORE_CASE, as that does seem to be the dominant convention for JavaScript.

Posted by Sam Ruby at

Add your comment