Then there is the full LR(1) lexer/parser generator, Mango which you can give a grammer and it will return you a lexer/parser that produce parse trees... Just to clarify: Mango is not part of release 3.0 (for a moment I thought it was). Sorry for any confusion I may have caused. Ole