This article discusses on using Roslyn and Powershell 3 to convert C# to PowerShell.
From this resource:
"In the
Roslyn.Compilers.CSharp namespace there is a StatementVistor class. This class
works much that same as the ICustomAstVisitor we find in the
System.Management.Automation namespace for PowerShell. It uses the same Visitor
pattern which makes it very easy to use them together. "
Continue reading on csharpening.net >>