I agree, this is a good point, though you can generate a parser with JavaCC, which emits very detailed debug messages about the parse progress. this has been very helpful to me debugging a parser. But again, I agree being able to debug the actual parser class is more convenient.

regards
 marcel

Christoph Kiehl wrote:
Thomas Mueller wrote:

Two more advantages of a hand-written parser:

- You can actually debug the parser. No chance with JavaCC or ANTLR

A very important point in my opinion! I learned a lot of Jackrabbits internals by debugging.

Cheers,
Christoph




Reply via email to