> Moderator: [If you just want to do a quick hack, hand coding will certainly work.> But I suspect that if you have 20 input languages, you'll find that> turning them into ASTs, and then using a common back end to emit the> VB will be less work and easier to debug.]

Not to mention, there are many tools out there that will parse trees
(like ANTLR/Sorcerer). Writing a declarative spec for tree walking is
much easier to maintain than several walking methods all over the
place in trees.

You can start with one or more grammar that describes the language and
generates trees.