[IronPython] Mixing Languages with the DLR

Jimmy Schementi Jimmy.Schementi at microsoft.com
Tue Apr 1 00:30:27 CEST 2008


I totally agree =) Unfortuantely, IronRuby on Rails is the high priority task for John Lam and his merry men for the next month or two, but language interop hopefully won't be too long after.

> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Michael Foord
> Sent: Monday, March 31, 2008 2:22 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Mixing Languages with the DLR
>
> Jimmy Schementi wrote:
> > I know this works between Jscript and Python. Ruby doesn't yet play
> by
> > the rules for method lookup. Fire up dlrconsole and see for yourself:
>
> Ok - something for us to watch. Allowing users to script Resolver One
> spreadsheets with Ruby could be fun.
>
> Michael
> http://www.ironpythoninaction.com
>
> >
> > http://dynamicsilverlight.net/see/dlrconsole
> >
> > js> function foo() {
> > js| return 42
> > js| }
> > py> a = foo()
> > py> a
> > 42.0
> > js> a
> > 42.0
> >
> > How it works? I believe it's something to do with sharing scopes, but
> > you can take a look @
> > http://dynamicsilverlight.net/see/dlrconsole.zip. Everything is in
> > /app/app.py
> >
> > John, any idea when Ruby will play nicely with other languages?
> >
> > ~Jimmy
> >
> > On 3/30/08 8:25 AM, "Michael Foord" <fuzzyman at voidspace.org.uk>
> wrote:
> >
> >     Hello all,
> >
> >     A quick question on mixing languages with the DLR. If we have an
> >     execution scope that we have executed code in - can we execute
> >     code from
> >     another language in the same scope?
> >
> >     If this is trivially easy (just use a different engine to execute
> the
> >     code in the same scope) then we could make Resolver One
> scriptable in
> >     the DLR language of your choosing... (Why anyone would want to
> use
> >     anything other than Python I don't know).
> >
> >     Michael
> >     http://www.ironpythoninaction.com
> >     _______________________________________________
> >     Users mailing list
> >     Users at lists.ironpython.com
> >     http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> > ---------------------------------------------------------------------
> ---
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list