| 7 | == C# Compiler == |
| 8 | |
| 9 | On .NET, Cobra generates C# source code for various benefits. You can experiment with different C# compilers if you like: |
| 10 | {{{ |
| 11 | cobra -c -d -native-compiler:C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe foo.cobra |
| 12 | }}} |
| 13 | |
| 14 | On a Windows 7 box, in 2011-02, a search for "csc.exe" yielded: |
| 15 | {{{ |
| 16 | C:\Microsoft.NET\Framework\v2.0.50727\csc.exe |
| 17 | C:\Microsoft.NET\Framework\v3.5\csc.exe |
| 18 | C:\Microsoft.NET\Framework\v4.0.30319\csc.exe |
| 19 | C:\Microsoft.NET\Framework64\v2.0.50727\csc.exe |
| 20 | C:\Microsoft.NET\Framework64\v3.5\csc.exe |
| 21 | C:\Microsoft.NET\Framework64\v4.0.30319\csc.exe |
| 22 | }}} |
| 23 | |