BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Microsoft's Roslyn Compiler APIs Updated for Visual Studio 2012

| by Jenni Konrad on Sep 27, 2012. Estimated reading time: 1 minute |

Roslyn, Microsoft's "compiler as a service", has been updated with a September 2012 CTP. This release adds support for Visual Studio 2012, introduces new language features for VB and C#, and includes several updates to the APIs.

Roslyn comprises a set of APIs that expose each part of the compilation process, and make them available as a service. It was first released in October 2011, and last updated in June of this year. While previous versions worked with Visual Studio 2010, this CTP only supports Visual Studio 2012.

New C# language features have been added, including nullable types, multi-dimensional arrays, and unsafe code. VB also now has nullable types, as well as array literals, handles clauses, XML literals, and late-binding. Async is not yet supported in either language.

There is no VB.NET interactive window yet; the C# version is unchanged. (A full list of not-yet-implemented language features is available in the Roslyn forum.) The services and editor services APIs have been updated to remove some of their dependencies on Visual Studio, and the compiler APIs include several syntax updates for simplification.

The Roslyn September 2012 CTP is available directly from Microsoft or NuGet. NuGet allows developers to download VB and C# compilers and services individually, rather than the entire package.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT