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 (2022-11-08)
Repositorygithub.com/dotnet/roslyn
Written inC#, Visual Basic
Operating systemWindows, Linux and macOS
PlatformIA-32, x86-64
TypeCompiler
LicenseMIT License
Websitelearn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/

.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.