On Apr 5, 2005 2:12 PM, Gilbert Ho <gil
...@hotmail.com> wrote:
Hi Gilbert,
Thanks for pointing out that link! That's the official grammar for Java.
JCVSReport uses PMD to parse Java source code. PMD creates a syntax
tree based on the source code. We then export this tree to text, and
run regular expressions on it. I don't think this text format is
documented anywhere, but we made good use of it anyway. If you want to
look deeply into how the format works, I'd recommend trying out the
PMD designer and looking at the PMD 2.3 source code.
The PMD 2.3 source code is available from my website at:
http://www.cs.toronto.edu/~james/408/pmd-2.3.zip
Cheers,
David
P.S. PMD 3.0 is apparently quite different from PMD 2.3 -- I recommend
sticking with PMD 2.3 for this assignment.
--
http://www.cs.toronto.edu/~james