Hi, Has anyone written a source-level expression optimizer with ANTLR?. Even a basic one that optimizes boolean expressions only would be fine. The real objective is learning about TreeParser transformations. Cheers, Micheal Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/