Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-26 Thread Michael Foord
: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, April 21, 2009 4:02 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: Do you have a simple repro XAP you can

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:07 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord fuzzy...@voidspace.org.uk wrote: I guess

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Dino Viehland
...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, April 21, 2009 2:41 AM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: You're compiling to a DLL and then trying to import (vs compiling to an EXE)? Yes - it's

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
[mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:07 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord fuzzy

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Dino Viehland
: Tuesday, April 21, 2009 4:02 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: Do you have a simple repro XAP you can send me and I'll take a look? I'm not entirely sure I'll know what's going on as CoreCLR isn't the CLR I'm

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: You're compiling to a DLL and then trying to import (vs compiling to an EXE)? Yes - it's support packages we're trying to compile. I would have thought that compiling an exe for Silverlight

[IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Hello guys, I'd like to modify Pyc to work with Silverlight. I tried it with simple modules and it works straightforwardly - but I have a report that it doesn't work with packages. I'll try it - but if anyone has any idea of how to modify the bytecode generation to target the CoreCLR it

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
: [IronPython] Compiling with Pyc for Silverlight Hello guys, I'd like to modify Pyc to work with Silverlight. I tried it with simple modules and it works straightforwardly - but I have a report that it doesn't work with packages. I'll try it - but if anyone has any idea of how to modify

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:34 AM To: Discussion of IronPython Subject: [IronPython] Compiling with Pyc for Silverlight Hello guys, I'd like to modify Pyc to work with Silverlight

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:34 AM To: Discussion of IronPython Subject: [IronPython] Compiling with Pyc for Silverlight Hello guys, I'd like to modify Pyc to work with Silverlight. I tried it with simple modules

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 12:43 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: In theory there's just 1 IL re-write that's required for this to work. And that should be replacing

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 12:43 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
Of Michael Foord Sent: Monday, April 20, 2009 1:24 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: An easy starting point would be to use ildasm + a Python script + ilasm. There's also CCI (just released on CodePlex last

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Of Michael Foord Sent: Monday, April 20, 2009 1:24 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: An easy starting point would be to use ildasm + a Python script + ilasm. There's also CCI (just released on CodePlex

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Jb Evain
Hey Michael, On 4/20/09, Michael Foord fuzzy...@voidspace.org.uk wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the references to an assembly from the desktop

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord fuzzy...@voidspace.org.uk wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the references to an

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord fuzzy...@voidspace.org.uk wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
: Re: [IronPython] Compiling with Pyc for Silverlight Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord fuzzy...@voidspace.org.uk wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could