PhilippeSigaud/Pegged — pull request #79 by chadjoan (2012-11-01 06:24:01+00:00)
Title: Grammar tester

I wrote a way to unittest grammars by drawing the tree structure that parses should have.

I realize that I'm probably failing to update the documentation properly. In this pull request and the previous one I've made changes to the doc directory, but it doesn't seem to reflect on the wiki very easily. I'm not sure how to make documentation changes actualize themselves.

Also noteworthy: when I merged the most recent changes into my branch, I got this unittest failure:
core.exception.AssertError@pegged.peg(805): unittest failure
I believe the unittests in for the grammar tester still pass: I isolated it by temporarily reverting commit 31d7565491798027244f10abcd0bb46576a4fa85 and was able to make all tests pass.

Let me know what you think!