Roslyn logo

Roslyn

Provides open-source compilers with code analysis APIs.

Made by Unknown Author

  • Compiler

What is Roslyn?

The .NET Compiler Platform, known as Roslyn, provides open-source C and Visual Basic compilers with rich code analysis APIs. It enables the development of code analysis tools by granting access to the same APIs used by Visual Studio. Roslyn is an open-source tool with a significant community, boasting 17.6K GitHub stars and 3.9K forks Traditionally, compilers have operated as black boxes, where source code is input, and object files or assemblies are output. Roslyn departs from this model by exposing the Visual Basic and C compilers as APIs. These APIs grant tools and users unprecedented access to the wealth of information the compilers possess about the code. The Roslyn CTP previews the next generation of language object models, introducing support for code generation, analysis, and refactoring, as well as scripting and interactive use of VB and C

Highlights

  • Open-source C and Visual Basic compilers with rich code analysis APIs
  • Enables development of code analysis tools using the same APIs as Visual Studio
  • Exposes compilers as APIs, providing access to the wealth of information about the code
  • Introduces support for code generation, analysis, and refactoring, as well as scripting and interactive use of VB and C

Platforms

  • Windows

Languages

  • English

Social