On Wed, Apr 18, 2001 at 06:28:06PM +0100, Jeff Martin wrote: > I've just checked in a proposal for the next version of JXR. Basically, I'm > not happy with some of the internals of JXR and want to move it to an event > based system. Also I'm to lazy to write a java parser so I think that using > something like ANTLR is a good idea. > > Following on from the idea of an event based model it struck me that there's > already a fairly good system for handling even based tree info (Java source > files can be looked at as trees) and that's SAX. So the code I've got here > generates SAX events from a Java source file, it's then should be possible > to apply XSL style sheets to them to view the code in different ways e.g. > Javadoc or JXR style. It also seems like quite a good way of handling things > like metrics as people can write DocumentHandlers to listen to documents and > then generate metrics. > jeff - I'll look at the code more later tonight but one thing which I think *might* be cool would be to come up with a generic code parser and then have individual language transformers so that jxr could be used for more than just java. Just a thought off the top of my head... josh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
