I think the subject line is basically impossible with antlr +stringtemplate, BUT in the off-chance someone has any ideas to do this, I would appreciate some pointers. It would be really nice if one could do it without a TreeParser :) Thanks! Sohail