Does anybody do JUnit regression testing on their parsers? If so, how, exactly? For lack of anything better, *a* way of doing it is to have a set of files to parse and the pretty-printed output of the expected ASTs. Then, when you run the tests, simply diff their output with the expected output. Anything better? - Paul