Sounds like an education problem to me. If I had to guess, I'd say that markdown was done this way because it was somehow easier to come up with a ball of regexes than make a complete grammar that did something useful. Testing seems a lot more mainstream now than it was when either of these things were developed. <span></span><br>
<br>On Thursday, July 12, 2012, Richard O'Keefe wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I wonder if other people are getting the same take-home lesson from bbcode<br>
that I am? It's<br>
<br>
- we've had adequate notations for describing syntax since<br>
1960, so why, more than 50 years later, are we using notations<br>
presented in an informal and incomplete way?<br>
<br>
- we've known about the importance of testing for nearly as long,<br>
so why, in the 21st century, are things like Markdown and BBcode<br>
promulgated without a common set of test cases?<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'erlang-questions@erlang.org')">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>