Question: I need to write a translator for vbscript to c#. What would be the basic steps invloved to translate **using ANTLR**? I am not very clear about whether to use grammar (lexer/parser? file or stringtemplate or AST or all.
Suggestions?
Thanks in advance.

Answer: 
See [What kinds of patterns could I enforce on the code to make it easier to translate to another programming language?](https://stackoverflow.com/questions/3455456/how-to-translate-between-programming-languages)
The easiest way to translate VBScript to C# would be using VB.NET as an intermediate step. VBScript is very similar to VB.NET (there are some differences though), so all you need to do is copy-paste your code in a new solution in Visual Studio. After you make a few changes, the code will be able to compile.

You can leave it at that (you can call the resulting DLL from your C# code), but even if you don't want to do that, converting VB.NET to C# is trivial. You can even decompile your resulting DLL/EXE (although this will lead to some loss of information) or use any online VB.NET to C# converter.