BT

InfoQ Homepage News Moving to IronPython

Moving to IronPython

Bookmarks

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

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

Community comments

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.