CACM logo

ACM TechNews

Microsoft's Roslyn: Reinventing the Compiler as We Know It

[article image]
Microsoft headquarters, Redmond, Washington Credit: Courtesy of geekologie.com

Microsoft recently launched Project Roslyn, a compiler-as-a-service technology that aims to bring powerful new features to C#, Visual Basic, and Visual Studio.

Roslyn is a complete reengineering of Microsoft's .Net compiler toolchain, exposing each phase of the code compilation as a service that can be consumed by other applications.

Roslyn will allow the entire compile-execute process to be invoked from within .Net applications. If the code is put into a loop that accepts input from the user, Roslyn will create a fully interactive read-eval-print loop console for C#, enabling users to manipulate and experiment with .Net application programming interfaces (APIs) and other objects in real time. Roslyn APIs expose the syntax and binding data, allowing developers to write their own code refactoring algorithms in addition to the ones that ship with Visual Studio.

Microsoft has made the technology available as a Community Technology Preview, but it has not committed to making it into a product for Visual Studio. "Roslyn represents not merely a new iteration of the Visual Studio toolchain but a whole new way for developers to interact with their tools," writes InfoWorld's Neal McAllister.

From InfoWorld
View Full Article

Abstracts Copyright © 2011 Information Inc. External Link, Bethesda, Maryland, USA 

Post a comment...
Name: Anonymous

Signed and anonymous comments submitted to this site are moderated and will appear if they are relevant to the topic and not abusive. Your comment will appear with your username if you are signed into the site, and will be anonymous if you are not signed in. View our policy on comments

Tools For Readers

Bookmark and Share
Default Font Size Large Font Size X-Large Font Size Text Size

Related ACM Resources

Conferences:

Courses:


About Communications | Join ACM External Link | Renew External Link | Subscribe External Link | Sign In | For Authors | For Advertisers External Link | Privacy | Site Map | Help | Contact Us | Mobile Site

Copyright © 2012 by the ACM. All rights reserved.