Many thanks to Cap'n Parr* and the team. ANTLR is a fantastic tool, it's taken a few days to do what would have been many weeks of work with older tools. Marvelous. Just marvelous. *The books are good too, LIP in particular. My iPad now has a genuine reason for being. Can we look forward to a V2 of the ANTLR reference? Thx++ Jerry.