&gt; A better idea would be to write all this code processing in the language that is being byte-code interpreted.<p>That presumes the language being compiled somehow frees you from the need to use the visitor pattern.<p>Personally, I really like visitor. It&#x27;s not a pattern I use often (basically, only for AST visitors), but it&#x27;s pretty fanstastic in the places where I do need it.