Re: [Ironruby-core] StackOverflowException when accessing object properties

2008-11-14 Thread Andrew Peters
I think this is because you need to reference the IronRuby.Libraries dll. Strange error I know. On Sat, Nov 15, 2008 at 7:33 PM, Benjamin Van der veen <[EMAIL PROTECTED] > wrote: > Hello all, > > Why does the stack overflow? > > class Program > { >static void Main(string[] args) >{ >

[Ironruby-core] StackOverflowException when accessing object properties

2008-11-14 Thread Benjamin Van der veen
Hello all, Why does the stack overflow? class Program { static void Main(string[] args) { ScriptRuntime runtime = Ruby.CreateRuntime(); ScriptEngine engine = runtime.GetRubyEngine(); ScriptScope scope = engine.CreateScope(); scope.SetVariable("my_var", new

Re: [Ironruby-core] Executables

2008-11-14 Thread Michael Letterle
? interop works through IRB just as well... C:\>ir ruby\bin\irb irb(main):001:0> require 'mscorlib' => true irb(main):002:0> require 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' => true irb(main):003:0> f = System::Windows::Forms::Form.new => # irb(main

Re: [Ironruby-core] Executables

2008-11-14 Thread Tomas Matousek
We need DLR REPL for testing interop. Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 5:50 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Executables Is there a particular reason we need the executable to do t

Re: [Ironruby-core] Executables

2008-11-14 Thread Michael Letterle
Is there a particular reason we need the executable to do the REPL itself? ir.exe runs irb just fine, and is actually what I've been using lately (there's a few annoyances but nothing earth shattering) On Fri, Nov 14, 2008 at 8:39 PM, Tomas Matousek < [EMAIL PROTECTED]> wrote: > Could be --repl.

Re: [Ironruby-core] Executables

2008-11-14 Thread Tomas Matousek
Could be --repl. From: Oleg Tkachenko Sent: Friday, November 14, 2008 5:35 PM To: Jim Deville; Tomas Matousek; IronRuby Team Cc: ironruby-core@rubyforge.org Subject: RE: Executables I like second option too. But why --dlr? Why not --repl? -- Oleg From: Jim Deville Sent: Thursday, November 13, 2

Re: [Ironruby-core] Executables

2008-11-14 Thread Oleg Tkachenko
I like second option too. But why --dlr? Why not --repl? -- Oleg From: Jim Deville Sent: Thursday, November 13, 2008 2:16 PM To: Tomas Matousek; IronRuby Team Cc: ironruby-core@rubyforge.org Subject: RE: Executables I like the switch option best. We also need to add a -e option to pass some of

Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache

2008-11-14 Thread Gabriel Rotar
Thanks mate I'll put you suggestions to the test in the morning. Oh and I'm sort of using this as a pretext to learn some Ruby, also been playing with Hackety Hack but I don't think I can larn the ruby way of OOP form it so I'm going for trial and error and forum. Thanks again. -- Posted via http

Re: [Ironruby-core] SVN version 171

2008-11-14 Thread Jim Deville
Done on my end. JD > -Original Message- > From: [EMAIL PROTECTED] [mailto:ironruby-core- > [EMAIL PROTECTED] On Behalf Of Seo Sanghyeon > Sent: Friday, November 14, 2008 8:07 AM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] SVN version 171 > > 2008/11/14 Jim Deville <

Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache

2008-11-14 Thread Orion Edwards
On 15/11/2008, at 6:00 AM, Gabriel Rotar wrote: Hi I'm tiring to run a whole XNA game from IronRuby but I'm having some trouble translating the code from c# to ruby. That might be because I'm really new at Ruby. here is what I wrote so far Game = Microsoft::Xna::Framework::Game GraphicsDevic

[Ironruby-core] Xna+IronRuby+RubyNewb=headache

2008-11-14 Thread Gabriel Rotar
Hi I'm tiring to run a whole XNA game from IronRuby but I'm having some trouble translating the code from c# to ruby. That might be because I'm really new at Ruby. here is what I wrote so far Game = Microsoft::Xna::Framework::Game GraphicsDeviceManager = Microsoft::Xna::Framework::GraphicsDeviceMan

Re: [Ironruby-core] SVN version 171

2008-11-14 Thread Seo Sanghyeon
2008/11/14 Jim Deville <[EMAIL PROTECTED]>: > Absolutely! I forgot to pull them into TFS before I pushed out. I'm really > sorry about that. I'll pull them in tomorrow to prevent it from happening > again. I'm also working on a diff based transfer between TFS and SVN which > should eliminate the