Is there any silverlight sample?

May 11, 2009 at 1:12 PM

subj

Coordinator
May 11, 2009 at 1:26 PM
Edited May 11, 2009 at 3:01 PM

Hi

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

Cheers

leppie

--
http://codeplex.com/IronScheme
http://xacc.wordpress.com

May 11, 2009 at 2:58 PM

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

Coordinator
May 11, 2009 at 3: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?

Cheers

leppie

 

Coordinator
May 11, 2009 at 3:26 PM

I have created a work item for this.

May 11, 2009 at 3: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!"

App()

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

May 11, 2009 at 4:01 PM

What do people need to know in order to experiment?

Coordinator
May 11, 2009 at 5:54 PM

Hi Grant

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

Coordinator
May 12, 2009 at 8: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.

Cheers

leppie

Coordinator
May 12, 2009 at 10: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 5: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