BT

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

Host IronScheme in Your .NET Applications

| by Jonathan Allen on Oct 24, 2008. Estimated reading time: less than one minute |

IronScheme, an implementation of Scheme for the .NET runtime, is ready for developers to try out. IronScheme adheres closely to the R6RS Scheme standard and currently passes 8,881 of the 8,897 tests in the PLT R6RS test suite.

Right out of the box you get a REPL-style editor that most users of dynamic languages will find familiar. While spartan by Visual Studio standards, it does have a few nice touches such as tab-based code completion. While we are on that topic, there is some limited support for Visual Studio. Currently it just has paren matching and syntax coloring, but much more is planned.

The real win is that ability to host IronScheme inside other .NET applications. This allows developers to quickly add scripting support, something that has been much needed since the de facto deprecation of the Microsoft Script Control.

While IronScheme is certainly not the only scripting language offered by the Dynamic Language Runtime, quite suitable for demonstration purposes.

Dim mgr = ScriptDomainManager.CurrentManager
Dim slp = New IronSchemeLanguageProvider(mgr)
Dim se = slp.GetEngine()
Dim out = se.Evaluate("(sin 30)")

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 don't miss out on content that matters to you

BT