C# to TypeScript via Roslyn
Status: Ongoing (under development)
Rosetta is a project for converting C# code into TypeScript. We do this by means of project Roslyn by Microsoft.
Rosetta is written in C# and performs syntax analysis of C# code in order to convert it into TypeScript. There are many applications, however Rosetta is developed with those specific ones as target:
- Providing a tool for converting c#-to-javascript (like ScriptSharp) codebases into TypeScript.
- Providing a tool for converting C# odebases into TypeScript.
The translation works by traversing the C# AST generated via Roslyn and generating output accordingly to syntax structures encountered during the tree walking.
Rosetta relies can be executed on the following platforms:
- Windows
Rosetta depends on:
- The .NET Framework 4.0+.
- Project Roslyn.