Hacker News new | past | comments | ask | show | jobs | submit login

Interesting approach, thank you for sharing this. I especially like the 5Ss aliasing.

A test vector file for implementers would be nice (something like what cbor provides) so all possible edge cases can be checked for.




Good idea, agreed. There's a partial attempt at that in the JS implementation's test suite, albeit written into the test code itself; that'd probably be a decent enough starting point for a non-comprehensive approach.

At some point a full-blown test harness will be useful (i.e. to compare implementations and make sure they have equivalent behavior, for e.g. randomized or sequential tests). Haven't gotten that far yet :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: