Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread Web Reservoir
Sorry for my more questions on LINQ. I just read in LinQ in Action...it goes like this... In chapter 2, we’ll show you the details of how the programming languages have been extended to support LINQ. In chapter 3, you’ll learn how to write LINQ queries. This is where you’ll learn about query op

Re: [Ironruby-core] Console arguments broken?

2008-03-13 Thread Brian J. Cardiff
rbx -X:TabCompletion >>> 1. It throws and exception dialog (attached) rbx -X:ShowASTs >>> 1 It shows ok >>> 1+1 It shows ok rbx -X:AutoIndent don't sure how to use this funcionality, but console load and seems to work. XP SP2 VS2008 On Thu, Mar 13, 2008 at 8:30 PM, Ivan Porto Carrero <[EMAIL PR

[Ironruby-core] On Console options

2008-03-13 Thread Ivan Porto Carrero
Ooops.. I hit tab-enter.. sorry for that. -- Forwarded message -- From: Ivan Porto Carrero <[EMAIL PROTECTED]> Date: Fri, Mar 14, 2008 at 10:50 AM Subject: On Console options To: ironruby-core@rubyforge.org Hi, I'm sure this is another case of PEBKAC but I've been looking in the

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Mike Moore
I checked version 77 out to my work PC, which is running .NET 2.0. I ran "rake compile" from my SDK Command prompt and everything compiled just fine.I changed the .sln file to "Format Version 09.00" so I could open it with VS 2K5. I can compile from VS just fine as well. However, I can't run rbx

[Ironruby-core] On Console options

2008-03-13 Thread Ivan Porto Carrero
Hi, I'm sure this is another case of PEBKAC but I've been looking in the code and I think that's how it's supposed to work. When I want to use -X:ILDebug or -X:SaveAssemblies I assume the rbx command also expects the -X:AssembliesDir argument, is that correct? Which brings me to my next point: Wh

Re: [Ironruby-core] Console arguments broken?

2008-03-13 Thread Tomas Matousek
Member completion is not implemented yet in IronRuby. Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian J. Cardiff Sent: Thursday, March 13, 2008 3:46 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Console arguments broken? the attach. sorry. On Thu, Mar

Re: [Ironruby-core] Console arguments broken?

2008-03-13 Thread Ivan Porto Carrero
Ok It seems to only be broken in PowerShell when I use cmd things work. On Fri, Mar 14, 2008 at 11:46 AM, Brian J. Cardiff <[EMAIL PROTECTED]> wrote: > the attach. sorry. > > On Thu, Mar 13, 2008 at 8:45 PM, Brian J. Cardiff <[EMAIL PROTECTED]> > wrote: > > > rbx -X:TabCompletion > > >>> 1. > > I

Re: [Ironruby-core] Console arguments broken?

2008-03-13 Thread Brian J. Cardiff
the attach. sorry. On Thu, Mar 13, 2008 at 8:45 PM, Brian J. Cardiff <[EMAIL PROTECTED]> wrote: > rbx -X:TabCompletion > >>> 1. > It throws and exception dialog (attached) > > rbx -X:ShowASTs > >>> 1 > It shows ok > >>> 1+1 > It shows ok > > rbx -X:AutoIndent > don't sure how to use this funciona

[Ironruby-core] Console arguments broken?

2008-03-13 Thread Ivan Porto Carrero
Do the -X:... console arguments work for anybody? » C:\tools\IronRuby\build\debug\rbx -X:TabCompletion mscorlib:0:in `CanonicalizePath': The given path's format is not supported. (System::NotSupportedException) from mscorlib:0:in `CreateListFromExpressions' from mscorlib:0:in `Add

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Mike Moore
D'uh! I forgot to run "rake gen" first! My bad, I though I had but I obviously didn't. It's all good now, sorry for the false alarm. ~Mike P.S. I also get the error on "exit": E:\Sandbox\IronRuby\build\debug>rbx IronRuby 0.1 on .NET 2.0.50727.832 Copyright (c) Microsoft Corporation. All right

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread John Lam (DLR)
For the time being hit CTRL-Z followed by enter (this is the Python style exit from the shell). > -Original Message- > From: [EMAIL PROTECTED] [mailto:ironruby-core- > [EMAIL PROTECTED] On Behalf Of Tomas Matousek > Sent: Thursday, March 13, 2008 1:48 PM > To: ironruby-core@rubyforge.org

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Tomas Matousek
Confirmed. This is a bug, I'll fix it. Tomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Charles Sent: Thursday, March 13, 2008 1:45 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] SVN Revision 77 out Does anyone have a problem w

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Ivan Porto Carrero
I have the same issue on both OSX/mono and Vista/Powershell/command On Fri, Mar 14, 2008 at 9:45 AM, Josh Charles <[EMAIL PROTECTED]> wrote: > Does anyone have a problem with rbx not exiting correctly in revision 77? > > I'm getting a method missing error on "Exit": > > > Microsoft Windows XP [Ve

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Josh Charles
Does anyone have a problem with rbx not exiting correctly in revision 77? I'm getting a method missing error on "Exit": Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. Q:\>c: C:\>cd IronRuby C:\IronRuby>rake gen (in C:/IronRuby) C:\IronRuby>rake compile (in C:

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Ivan Porto Carrero
Thanks. Looks like i can finally uninstall visual studio 2005 :) On Fri, Mar 14, 2008 at 7:55 AM, Aaron Junod <[EMAIL PROTECTED]> wrote: > Great news! Thanks a lot IR team! > > > On Thu, Mar 13, 2008 at 1:13 PM, Nick Aceves <[EMAIL PROTECTED]> wrote: > > > Awesome! > > > > On Thu, Mar 13, 2008 at

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Aaron Junod
Great news! Thanks a lot IR team! On Thu, Mar 13, 2008 at 1:13 PM, Nick Aceves <[EMAIL PROTECTED]> wrote: > Awesome! > > On Thu, Mar 13, 2008 at 10:00 AM, John Lam (DLR) <[EMAIL PROTECTED]> > wrote: > > > There are a lot of new files in this change – mostly due to the > > beginnings of our work

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Nick Aceves
Awesome! On Thu, Mar 13, 2008 at 10:00 AM, John Lam (DLR) <[EMAIL PROTECTED]> wrote: > There are a lot of new files in this change – mostly due to the > beginnings of our work to get the latest Ruby specs working. So right now > there are duplicate specs under tests. This will change in the futu

Re: [Ironruby-core] SVN Revision 77 out

2008-03-13 Thread Michael Letterle
*as he watches TortoiseSVN fly by...* Wow, you weren't kidding... On Thu, Mar 13, 2008 at 1:00 PM, John Lam (DLR) <[EMAIL PROTECTED]> wrote: > > > > > There are a lot of new files in this change – mostly due to the beginnings > of our work to get the latest Ruby specs working. So right now there

[Ironruby-core] SVN Revision 77 out

2008-03-13 Thread John Lam (DLR)
There are a lot of new files in this change - mostly due to the beginnings of our work to get the latest Ruby specs working. So right now there are duplicate specs under tests. This will change in the future. Our work to get Silverlight integration working is here. So rudimentary VS debugging s

Re: [Ironruby-core] Browsing source under VS.NET

2008-03-13 Thread John Lam (DLR)
You might want to svn exclude them for the time being. I have to apply transforms to those files when I generate the external layout (as well as doing transforms on the way back in). I need to spend some time coding on the external layout for a while to get a better feel (I use our internal lay

Re: [Ironruby-core] Browsing source under VS.NET

2008-03-13 Thread Jayme
Thanks John, I've got it building now, great. When I build though, it seems that the .csproj files of some projects are updated, some spaces are removed, and some paths are adjusted. Is there a specific version of the IDE other than 2008 I should be using, or perhaps I should only build through th

Re: [Ironruby-core] Browsing source under VS.NET

2008-03-13 Thread John Lam (DLR)
You'll need to use the IronRuby.sln solution, *not* the Ruby.sln. I'll fix my deploy script to scrub Ruby.sln from external sources as this causes a lot of confusion. -John > -Original Message- > From: [EMAIL PROTECTED] [mailto:ironruby-core- > [EMAIL PROTECTED] On Behalf Of Jayme > Se

Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread Web Reservoir
John Lam (DLR) wrote: > Remove the comma from the URI. -- Thanks John. I did not notice that little comma. I just clicked the link. Here's the C# Code. -- class QueryVMethodSyntax { static void Main() { int[] numbers =

[Ironruby-core] Browsing source under VS.NET

2008-03-13 Thread Jayme
Hey all, I've got the latest source from svn as of today and can compile just fine using the Rakefile. However when I open the visual studio projects (in 2005 or 2008) several of the project paths are messed up and only one of the projects loads. Is this a known issue? Just looking for a nice way

Re: [Ironruby-core] Hosting... executing function dynamically from C#

2008-03-13 Thread Jay Kimble
Alright I found the problem and it appears to be a problem between the chair and the keyboard... Sorry about that. I fat fingered my function name, and as soon as I discovered that it made sense that Iron Ruby was telling me that it couldn't find that function (because it couldn't). Jay -- Po

Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread John Lam (DLR)
Remove the comma from the URI. > -Original Message- > From: [EMAIL PROTECTED] [mailto:ironruby-core- > [EMAIL PROTECTED] On Behalf Of Web Reservoir > Sent: Thursday, March 13, 2008 5:41 AM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Few Small Examples in Linq with Iron

Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread Web Reservoir
Ivan Porto Carrero wrote: > I think this should answer your question > http://rubyforge.org/pipermail/ironruby-core/2008-January/000706.html - Ho Ivan, Thanks for pointing me a link. But the link is obsolete now.

Re: [Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread Ivan Porto Carrero
I think this should answer your question http://rubyforge.org/pipermail/ironruby-core/2008-January/000706.html On Thu, Mar 13, 2008 at 8:30 PM, Web Reservoir <[EMAIL PROTECTED]> wrote: > Hello, > > I know that its too early to ask or it. > > But can someone provide few examples, how Linq with Iro

[Ironruby-core] Few Small Examples in Linq with IronRuby

2008-03-13 Thread Web Reservoir
Hello, I know that its too early to ask or it. But can someone provide few examples, how Linq with IronRuby will look alike. Since i am reading few books on LINQ in C#, i want to gradually try to understand it with IronRuby point of view. I do not want examples to play around. I want examples t