Roslyn (compiler)
| .NET Compiler Platform (Roslyn) | |
|---|---|
| Original author(s) | Microsoft |
| Developer(s) | .NET Foundation and the open source community |
| Stable release | .NET 7.0.0
/ November 8, 2022 |
| Repository | github |
| Written in | C#, Visual Basic |
| Operating system | Windows, Linux and macOS |
| Platform | IA-32, x86-64 |
| Type | Compiler |
| License | MIT License |
| Website | learn |
.NET Compiler Platform, also known by its codename Roslyn, is a set of open-source compilers and code analysis APIs for C# and Visual Basic (VB.NET) languages from Microsoft.
The project notably includes self-hosting versions of the C# and VB.NET compilers – compilers written in the languages themselves. The compilers are available via the traditional command-line programs but also as APIs available natively from within .NET code. Roslyn exposes modules for syntactic (lexical) analysis of code, semantic analysis, dynamic compilation to CIL, and code emission.