If I have a grammar which is good for recognizing a language, then how can I write a translator for that language without modifying the grammar? I mean I want to keep the translator rules separately (even if they are in the same file). Adrian Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/