Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Ben Hall
Hi Dan, I think the assemblies for RC0 are being finalised so should be released shortly. Not sure how long this process takes, should only be a few days. Thanks Ben Blog.BenHall.me.uk On Tue, Sep 30, 2008 at 3:20 AM, Dan Eloff <[EMAIL PROTECTED]> wrote: > It was easy to build the latest sou

Re: [IronPython] DLR all languages release for Fullclient

2008-09-08 Thread Ben Hall
At the moment there is not a pre-compiled DLR + IronRuby + IronPython for the desktop - only Silverlight. There will be once the DLR hits 1.0 (I've heard??) An older version was built for IronEditor (download the binaries), I need to update the build with the latest Silverlight SDK release. Basi

Re: [IronPython] [Ironruby-core] DLR IDE

2008-07-25 Thread Ben Hall
e) > - artificial intelligence (see http://pyrorobotics.org) > > We'll be announcing some more details about the Pyjama Project, but would > love to collaborate with others in whatever ways possible. Perhaps initially > a single mailing list to discuss the details would be usefu

Re: [IronPython] [Ironruby-core] DLR IDE

2008-07-25 Thread Ben Hall
Hi Stefan, An interesting approach - you want people to collaborate so you start a new project? When writing the editors, people have lots of different reasons for doing so - not everyone wants to create an IDE, some people just want to create a cool sample to learn Silverlight \ DLR which they t

Re: [IronPython] Announcing IronEditor - An Editor for IronRuby, IronPython and other DLR languages

2008-07-22 Thread Ben Hall
f the tab key in the text editor to add > a new tab rather than rotate through the tab order on the controls. > > Also, you may be happy to know that it seems to work well under mono. > > Thanks a lot for making this, > -Matt > > > On Mon, Jul 21, 2008 at 5:09 PM, Ben Hal

Re: [IronPython] Announcing IronEditor - An Editor for IronRuby, IronPython and other DLR languages

2008-07-22 Thread Ben Hall
uld you please change the behavior of the tab key in the text editor to > add a new tab rather than rotate through the tab order on the controls. > > Also, you may be happy to know that it seems to work well under mono. > > Thanks a lot for making this, > -Matt > > On M

Re: [IronPython] Announcing IronEditor - An Editor for IronRuby, IronPython and other DLR languages

2008-07-21 Thread Ben Hall
Hi David, I saw that crash once while I was developing the app, I'll have another investigate and see if I can be a bit more careful about the location of the syntax files (I think I will use an embedded version of the current Ruby syntax if it fails). Was you using the binaries available to down

[IronPython] Announcing IronEditor - An Editor for IronRuby, IronPython and other DLR languages

2008-07-21 Thread Ben Hall
Hi everyone, Last night I uploaded an initial release of an application I've been working on - IronEditor. This is a simple application designed to make it easier to start coding against the DLR based languages, out of the box it supports IronPython and IronRuby. The reason why I decided to build

Re: [IronPython] restrict scripting access

2008-06-30 Thread Ben Hall
I thought this last night, it would be really useful if we could 'sandbox' the IP engine and limit it's access to certain areas of the framework. On Mon, Jun 30, 2008 at 12:57 PM, Rainer Worbis <[EMAIL PROTECTED]> wrote: > No - for example i would like to prevent that the user loads assemblies a

[IronPython] ToyScript - Parses code twice?

2008-06-29 Thread Ben Hall
Hello, I was just looking at ToyScript and how it generates the DLR Trees, and i've found that ParseSourceCode is called twice for a single line of code (in this case print "a" + "b"). I was just wondering is the DLR parsing the source code twice? It seems quite inaffective but i'm sure you have

Re: [IronPython] DLR question

2008-06-26 Thread Ben Hall
Will we ever be in a position where, for example, Rails could run on top of Python and that level of interop? Ben On Fri, Jun 27, 2008 at 1:01 AM, Dino Viehland <[EMAIL PROTECTED]> wrote: > The short answer to this is yes. But there's a longer answer too J > > > > First off, it's not like you'r

Re: [IronPython] Problem with Beta3

2008-06-20 Thread Ben Hall
ave also tried rebuilding IP from source and using all the dlls from > that - same result. > > Matt > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall > Sent: 20 June 2008 13:13 > To: Discussion of IronPython > Subject:

Re: [IronPython] Problem with Beta3

2008-06-20 Thread Ben Hall
Hello, Have you referenced Microsoft.Scripting and Microsoft.Scripting.Core in your C# project? Are they the correct version (the only IP was built against). They would be the first things to check, if you still have problems then let us know. Ben Blog.BenHall.me.uk On Fri, Jun 20, 2008 at 12:

Re: [IronPython] DLR Videos from Lang.NET Symposium

2008-06-16 Thread Ben Hall
compress them and get > them online soon. > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:users- >> [EMAIL PROTECTED] On Behalf Of Ben Hall >> Sent: Monday, June 16, 2008 1:56 PM >> To: Discussion of IronPython >> Subject: [IronPython] DLR Vid

[IronPython] DLR Videos from Lang.NET Symposium

2008-06-16 Thread Ben Hall
Hi, I was just wondering if the two DLR sessions from Lang.NET Symposium was going to be made available - they are marked as "coming soon". The two sessions being "Vision of the DLR" and "Targeting DLR" Thanks Ben ___ Users mailing list Users@lists.ir

Re: [IronPython] ScriptEngine.GetRegisteredExtensions()

2008-06-11 Thread Ben Hall
ed from LanguageContext. > > On Wed, Jun 11, 2008 at 2:53 PM, Ben Hall <[EMAIL PROTECTED]> wrote: >> >> Oh! >> >> Can't remember the reason why I went for the type over the file >> extension. But anyway, what I'm doing it manually loading in the &

Re: [IronPython] ScriptEngine.GetRegisteredExtensions()

2008-06-11 Thread Ben Hall
<[EMAIL PROTECTED]> wrote: > The overload of GetEngine that you're using is slated to go away. Is there > functionality you get out of doing it that way that you don't get by using > the language code or file extension? > > On Wed, Jun 11, 2008 at 2:17 PM, Ben Hall <

Re: [IronPython] ScriptEngine.GetRegisteredExtensions()

2008-06-11 Thread Ben Hall
foreach (string s in engine.GetRegisteredExtensions()) { > System.Console.WriteLine(s); > } > } > > On Wed, Jun 11, 2008 at 12:23 PM, Ben Hall <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have been using the latest release of the DLR (the one from >> yesterday) but the

[IronPython] ScriptEngine.GetRegisteredExtensions()

2008-06-11 Thread Ben Hall
Hi, I have been using the latest release of the DLR (the one from yesterday) but the behaviour of GetRegisteredExtensions() seems to have changed (or is broke). I've got this test: [Test] public void GetSaveFilter_RegisteredTypes_String() { string expected = "

Re: [IronPython] System, Version 2.0.5.0

2008-06-11 Thread Ben Hall
ronPython you'd need to wait > for IronPython beta 3 coming very soon. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall > Sent: Tuesday, June 10, 2008 3:49 PM > To: Discussion of IronPython > Subject: [IronPython] Sys

Re: [IronPython] System, Version 2.0.5.0

2008-06-10 Thread Ben Hall
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall > Sent: Tuesday, June 10, 2008 3:49 PM > To: Discussion of IronPython > Subject: [IronPython] System, Version 2.0.5.0 > > Hello, > > I have just downloaded and upgraded my WinForms application to use the > lat

[IronPython] System, Version 2.0.5.0

2008-06-10 Thread Ben Hall
Hello, I have just downloaded and upgraded my WinForms application to use the latest Dynamic Languages for Silverlight Beta 2. I think I must be confused, but the two DLR assemblies (Microsoft.Scripting.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 and Microsoft.Scriptin

Re: [IronPython] [Ironruby-core] Dynamic Lanugages in Silverlight 2 Beta 2

2008-06-10 Thread Ben Hall
Excellent!! A new set of IronPython, IronRuby and DLR assemblies. I can actually get my app working tonight! Thanks Ben Blog.BenHall.me.uk On Tue, Jun 10, 2008 at 10:08 PM, Jimmy Schementi <[EMAIL PROTECTED]> wrote: > http://blog.jimmy.schementi.com/2008/06/dynamic-languages-in-silverlight-2-be

Re: [IronPython] IronPython + IronRuby + Known DLR Build

2008-05-25 Thread Ben Hall
chael Foord wrote: >>> >>>> Hello Ben, >>>> >>>> I don't have an answer, just to say that I have the same problem. >>>> >>>> For our 'Dynamic Script Control' project we would like to develop (and >>>> test w

Re: [IronPython] IronPython + IronRuby + Known DLR Build

2008-05-25 Thread Ben Hall
t;> I realise that at some point this will be a non-problem, but in the >> meantime if anyone has any good ideas I'd like to hear them... >> >> Michael Foord >> >> >> >> Ben Hall wrote: >>> >>> Hello, >>> >>> Pos

[IronPython] IronPython + IronRuby + Known DLR Build

2008-05-25 Thread Ben Hall
Hello, Posted similar message onto IronRuby but I thought I would also ask you guys. My scenario is that I need to host IronRuby and IronPython within the same application. I thought this would be easy as they both are based on the DLR. However, you both appear to be at different stages of the DL

Re: [IronPython] New hosting API spec available...

2008-05-22 Thread Ben Hall
Excellent!! Thank you Dino. If we have questions - direct them to the list? Is this Spec going to be updated again for Final - or is this it now for v1? Is this what you meant by this comment - "Where there are differences the spec should be correct going forward we just need to fix the code "

Re: [IronPython] Custom Host - Import CLR fails

2008-05-17 Thread Ben Hall
> It prints: > > > hello world > > Do you still get an exception with this code? I also realize you were trying > to load them dynamically on another thread but it might be worth pointing out > this doesn't actually end up w/ any dependencies on IronPython.dll or &

[IronPython] Custom Host - Import CLR fails

2008-05-16 Thread Ben Hall
To execute the code, I do this: ScriptScope source = Engine.CreateScope(); source.Execute(code); However nothing, I still get the exception. Any suggestions on where I am going wrong? Thanks Ben Hall Blog.BenHall.me.uk ___

[IronPython] Loading IronPython assemblies dynamatically

2008-05-16 Thread Ben Hall
Hello, I have an interesting problem and I was wondering if you would be able to help. I am trying to load the IronPython assemblies dynamically (IronPython.dll and IronPython.Modules.dll), and what I am doing is this: Assembly.LoadFile(Path.Combine(Settings.BinDirectory, assembly)); I'm then c

Re: [IronPython] 2 Basic question about IronPython and dyn. langs in general

2008-05-14 Thread Ben Hall
o have to ask you: Is such a dll/exe the same as I > would compile it from c#? Does similar language constructs (eg. for loop, > class object creation) the same performance? > > Thanks in advance. > Ben > > > > One of the list members - Ben Hall - pointed me

Re: [IronPython] error when 'import os'

2008-05-14 Thread Ben Hall
Hi, os is within the Python Standard Libraries, as such you will need to install Python 2.5 and add the path to your sys.path variable. You can download python from http://www.python.org/download/releases/2.5.2/ I mentioned this at the end of my blog post last night http://blog.benhall.me.uk/200

Re: [IronPython] DLR: ScriptIO Readonly on ScriptRuntime

2008-05-13 Thread Ben Hall
xample if you're a web server and you want to have a language > that supports printing a JPG. > > > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall > Sent: Tuesday, May 13, 2008 4:48 AM > To: Discussion of IronPy

[IronPython] DLR: ScriptIO Readonly on ScriptRuntime

2008-05-13 Thread Ben Hall
ed approach now in order to get access to the output? I was hoping I would be able to create my own ScriptIO class and assign this to the engine. Any advice on this would be great! Thanks Ben Hall Blog.BenHall.me.uk ___ Users mailing list Users@lists

Re: [IronPython] Learning IronPython

2008-04-16 Thread Ben Hall
Asking you loads of questions - haven't you noticed :) On Wed, Apr 16, 2008 at 11:52 PM, Michael Foord <[EMAIL PROTECTED]> wrote: > Ben Hall wrote: > > I've purchased Michael's book, read first 3 chapters - very good. It > > really is worth ge

Re: [IronPython] Learning IronPython

2008-04-16 Thread Ben Hall
I've purchased Michael's book, read first 3 chapters - very good. It really is worth getting it now and getting ahead start :) On Wed, Apr 16, 2008 at 8:40 PM, Michael Foord <[EMAIL PROTECTED]> wrote: > Tarun Kapoor wrote: > > Michael - do you have a date on when you book is coming out ? > > >

Re: [IronPython] NUnit Recipe - IronPython Cookbook - testing/Visual Studio newb

2008-04-12 Thread Ben Hall
t 10:39 PM, Carl Trachte <[EMAIL PROTECTED]> wrote: > On 4/10/08, Ben Hall <[EMAIL PROTECTED]> wrote: > > > Have you updated your NUnit references? In the Solution Explorer, you > > can see a references item. Under this are all the references to other > > ass

Re: [IronPython] NUnit Recipe - IronPython Cookbook - testing/Visual Studio newb

2008-04-10 Thread Ben Hall
Hi, Have you updated your NUnit references? In the Solution Explorer, you can see a references item. Under this are all the references to other assemblies. If any of these have a yellow warning icon, then thats your problem. Hope this helps. Ben Blog.BenHall.me.uk On Thu, Apr 10, 2008 at 5:56

[IronPython] C# Extension Methods and IP B2

2008-04-08 Thread Ben Hall
Hi everyone, Tonight I was going to write a blog post on C# Interop so I I was playing around a bit more with some of the new C# 3.0 features and I looked at Extension methods and I can't seem to get it to work with IP B2. My C# code is this: public static class POCOExt { public s

Re: [IronPython] Lamba Expressions in IronPython

2008-04-06 Thread Ben Hall
Thank you for all the answers, made everything make a lot more sense :) Cheers Ben On Mon, Apr 7, 2008 at 1:03 AM, Michael Foord <[EMAIL PROTECTED]> wrote: > Ben Hall wrote: > > Hi everyone, > > > > Just been playing around with C# and IronPython interop and I wa

[IronPython] Lamba Expressions in IronPython

2008-04-06 Thread Ben Hall
Hi everyone, Just been playing around with C# and IronPython interop and I wanted to define a lambda expression. My CLR object is just a wrapper around a generic list (as generics aren't supported?) public class GenericWrapper : List {} I tried to do a lamba expression to pull back a item from

Re: [IronPython] FW: IronPython Studio 1.0 for Isolated and Integrated VS Shell

2008-04-06 Thread Ben Hall
The VS2008 SDK Sample integration supports ASP.net + IronPython. Sadly it looks like this hasn't been done in IPy Studio. Ben Blog.BenHall.me.uk On Sun, Apr 6, 2008 at 9:37 AM, Ronnie Maor <[EMAIL PROTECTED]> wrote: > forgot to mention that I'm using IPy 1.1.1 > > > > On Sun, Apr 6, 2008 at 11:34