Thanks Terence anyway. I'll just define the ANTLR syntax "on the fly", otherwise, this will ask too much of my precious time. Thanks for your help indeed. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071205/34dfb95e/attachment.html