Found the map iteration explained here http://www.antlr.org/wiki/display/ST/Expressions For iteration of lists/trees - recursively call the templates? cheers -- Torsten