This project is read-only.

Is there any silverlight sample?

May 11, 2009 at 2:12 PM


May 11, 2009 at 2:26 PM
Edited May 11, 2009 at 4:01 PM


No, IronScheme does not support Silverlight, and will probably never do so.




May 11, 2009 at 3:58 PM

It's awfully. What is a problem to do that?

May 11, 2009 at 4:05 PM

It is a pity  :(

Unfortunately, my DLR branch is very out of sync with the Silverlight one. 

I just thought about it, perhaps I do not need the DLR perse, will investigate.

The problem is that the DLR as-is, is not good enough to support the majority of the Scheme's requirements.

But I'll give it a shot anyways  :)  Anyone else wanna experiment?




May 11, 2009 at 4:26 PM

I have created a work item for this.

May 11, 2009 at 4:40 PM

I don't think it's really necessary to use DSL.

Minimal python sample look like

from System.Windows import Application
from System.Windows.Controls import UserControl

class App:
  def __init__(self):
    root = Application.Current.LoadRootVisual(UserControl(), "app.xaml")
    root.Message.Text = "Welcome to Python and Silverlight!"


So, all we need it say silverlight to run some text file with some script engine.

May 11, 2009 at 5:01 PM

What do people need to know in order to experiment?

May 11, 2009 at 6:54 PM

Hi Grant

I have no idea.  I will poke around to see what is needed  :)

May 12, 2009 at 9:00 AM

Not so easy unfortunately.

It seems I will have to compile it against the Silverlight runtime.

I'll save that for a rainy day.

If someone else wants to try. You will need the Silverlight 2 Tools for Visual Studio 2008 SP1.



May 12, 2009 at 11:37 AM

More feedback.

I used Reflexil to change the assembly references, then tried loading in Silverlight.

Kaboom, hit missing type exceptions.

Tried to modify the assemblies to not include the 'missing' types, but still hitting errors.

My conclusion is that it is definitely possible, but require some work to get it right.

I also have an issue what to do with library files as they are not compiled untill used.

May 18, 2009 at 6:31 PM

Hello Leppie

That would be very interesting to have a support for Silverlight.

I guess the sooner you will adapt IronScheme to it, the easier it will be for future versions. Isn't it ?

Personally, I am interested in using IronScheme in both environments.
And in a web server also, if possible.
That is so nice to program many things in only one language (and framework).   ;)

Have a nice day