BT

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

Moving to IronPython

| by Jonathan Allen on May 14, 2009. Estimated reading time: 1 minute |

Dynamic languages like Python and Ruby seem to be all the rage these days. And with the Iron versions, they are far more accessible to .NET developers. So if you are looking to make the switch from C# or VB to Python, there has never been a better time.

With the guarantees offered by the Common Language System, you should be able to maintain your legacy assets as DLLs while writing new code in IronPython. But sometimes developers need or want to pull everything into one package.

If you find yourself in that situation, SharpDevelop has you covered. SharpDevelop 3.1 if offering a feature that can convert C# and VB code into IronPython code. This can be done at either the file or project level using SharpDevelop's parsing library NRefactory.

This isn’t the first time SharpDevelop offered code conversion support for Python.

Converting code to IronPython was originally supported in SharpDevelop 2.2 and was based on converting code to a Microsoft CodeDOM and then getting IronPython 1.0 to generate the Python code. In IronPython 2.0 this CodeDOM support was removed so the code conversion feature was removed from SharpDevelop 3.0 since that was using IronPython 2.0. In SharpDevelop 3.1 the code conversion has been rewritten to no longer use the CodeDOM support.

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