Camen Design Forum


(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE: Kroc, why did you bestow upon me this nightmare?


I should write a conformance suite so that people making ports can ensure that the code is correct

I'm using your articles as the test suite at the moment, hehe. It's coming along. It's mostly done, I just haven't gotten the indentation or wrapping fully working, also, ordered and unordered lists are buggy. This is all due to the fact that JS regexes suck (no conditional patterns, no lookbehinds, no possessives, etc) and I couldn't use yours, so I had to rewrite those parts completely.

Although, not counting the regex part, it's a lot easier to get it working in JS given the fact that you can actually use real callbacks in JS. Very luxurious when writing something like this.

Anyway, I could definitely use a hand if anyone wants to help with it:…

I included all of Kroc's original comments so it will be easy to orient oneself when juxtaposing the two different versions.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn