Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081113/6dd82e0a/attachment.html>
I like the switch option best. We also need to add a -e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081113/376da2e2/attachment.html>
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 at rubyforge.org Subject: RE: Executables I like the switch option best. We also need to add a -e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081114/ea9edcd5/attachment-0001.html>
Could be --repl. From: Oleg Tkachenko Sent: Friday, November 14, 2008 5:35 PM To: Jim Deville; Tomas Matousek; IronRuby Team Cc: ironruby-core at rubyforge.org Subject: RE: Executables 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 at rubyforge.org Subject: RE: Executables I like the switch option best. We also need to add a -e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081114/d24f4297/attachment.html>
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 < Tomas.Matousek at microsoft.com> wrote:> Could be --repl. > > > > *From:* Oleg Tkachenko > *Sent:* Friday, November 14, 2008 5:35 PM > *To:* Jim Deville; Tomas Matousek; IronRuby Team > *Cc:* ironruby-core at rubyforge.org > *Subject:* RE: Executables > > > > 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 at rubyforge.org > *Subject:* RE: Executables > > > > I like the switch option best. We also need to add a ?e option to pass some > of the specs. > > > > > > JD > > > > *From:* Tomas Matousek > *Sent:* Thursday, November 13, 2008 2:12 PM > *To:* IronRuby Team > *Cc:* ironruby-core at rubyforge.org > *Subject:* Executables > > > > Today we have ir.exe that combines functionality of ruby.exe and a command > line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no > file is given it reads input from standard input)? > > Some specs expects that behavior (they start a new process ruby.exe and > write to its input stream). > > > > Another option would be to have a single executable ir.exe that behaves > like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. > > > > Tomas > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081114/dca09bd0/attachment.html>
We need DLR REPL for testing interop. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 5:50 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Executables 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 <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: Could be --repl. From: Oleg Tkachenko Sent: Friday, November 14, 2008 5:35 PM To: Jim Deville; Tomas Matousek; IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables 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 at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables I like the switch option best. We also need to add a -e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081114/acf68e34/attachment-0001.html>
? 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 => #<System::Windows::Forms::Form:0x00001b8> irb(main):004:0> i = f.show_dialog => #<System::Windows::Forms::DialogResult:0x00001ea> Am I missing something? On Fri, Nov 14, 2008 at 9:08 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> We need DLR REPL for testing interop. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Michael Letterle > *Sent:* Friday, November 14, 2008 5:50 PM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Executables > > > > 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 < > Tomas.Matousek at microsoft.com> wrote: > > Could be --repl. > > > > *From:* Oleg Tkachenko > *Sent:* Friday, November 14, 2008 5:35 PM > *To:* Jim Deville; Tomas Matousek; IronRuby Team > > > *Cc:* ironruby-core at rubyforge.org > *Subject:* RE: Executables > > > > 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 at rubyforge.org > *Subject:* RE: Executables > > > > I like the switch option best. We also need to add a ?e option to pass some > of the specs. > > > > > > JD > > > > *From:* Tomas Matousek > *Sent:* Thursday, November 13, 2008 2:12 PM > *To:* IronRuby Team > *Cc:* ironruby-core at rubyforge.org > *Subject:* Executables > > > > Today we have ir.exe that combines functionality of ruby.exe and a command > line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no > file is given it reads input from standard input)? > > Some specs expects that behavior (they start a new process ruby.exe and > write to its input stream). > > > > Another option would be to have a single executable ir.exe that behaves > like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. > > > > Tomas > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081114/530da585/attachment.html>
We don''t want our interop tests to be testing irb.rb though. :) From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 6:18 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Executables ? 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<http://2.0.0.0>, Culture=neutral, PublicKeyToken=b77a5c561934e089'' => true irb(main):003:0> f = System::Windows::Forms::Form.new => #<System::Windows::Forms::Form:0x00001b8> irb(main):004:0> i = f.show_dialog => #<System::Windows::Forms::DialogResult:0x00001ea> Am I missing something? On Fri, Nov 14, 2008 at 9:08 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: We need DLR REPL for testing interop. Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 5:50 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Executables 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 <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: Could be --repl. From: Oleg Tkachenko Sent: Friday, November 14, 2008 5:35 PM To: Jim Deville; Tomas Matousek; IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables 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 at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables I like the switch option best. We also need to add a -e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081115/5ed4d23c/attachment-0001.html>
If people are going to be using irb, you might ;) Anyway, I suppose that makes sense On Sat, Nov 15, 2008 at 5:44 PM, Curt Hagenlocher <curth at microsoft.com>wrote:> We don''t want our interop tests to be testing irb.rb though. :) > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Michael Letterle > *Sent:* Friday, November 14, 2008 6:18 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Executables > > > > ? 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 > => #<System::Windows::Forms::Form:0x00001b8> > irb(main):004:0> i = f.show_dialog > => #<System::Windows::Forms::DialogResult:0x00001ea> > > > Am I missing something? > > On Fri, Nov 14, 2008 at 9:08 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > > We need DLR REPL for testing interop. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Michael Letterle > *Sent:* Friday, November 14, 2008 5:50 PM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Executables > > > > 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 < > Tomas.Matousek at microsoft.com> wrote: > > Could be --repl. > > > > *From:* Oleg Tkachenko > *Sent:* Friday, November 14, 2008 5:35 PM > *To:* Jim Deville; Tomas Matousek; IronRuby Team > > > *Cc:* ironruby-core at rubyforge.org > *Subject:* RE: Executables > > > > 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 at rubyforge.org > *Subject:* RE: Executables > > > > I like the switch option best. We also need to add a ?e option to pass some > of the specs. > > > > > > JD > > > > *From:* Tomas Matousek > *Sent:* Thursday, November 13, 2008 2:12 PM > *To:* IronRuby Team > *Cc:* ironruby-core at rubyforge.org > *Subject:* Executables > > > > Today we have ir.exe that combines functionality of ruby.exe and a command > line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no > file is given it reads input from standard input)? > > Some specs expects that behavior (they start a new process ruby.exe and > write to its input stream). > > > > Another option would be to have a single executable ir.exe that behaves > like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. > > > > Tomas > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081115/55c63b6b/attachment.html>
We''ll have both types of interactive tests eventually. -----Original Message----- From: Michael Letterle <michael.letterle at gmail.com> Sent: November 15, 2008 2:55 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Executables If people are going to be using irb, you might ;) Anyway, I suppose that makes sense On Sat, Nov 15, 2008 at 5:44 PM, Curt Hagenlocher <curth at microsoft.com<mailto:curth at microsoft.com>> wrote: We don''t want our interop tests to be testing irb.rb though. :) From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 6:18 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Executables ? 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<http://2.0.0.0>, Culture=neutral, PublicKeyToken=b77a5c561934e089'' => true irb(main):003:0> f = System::Windows::Forms::Form.new => #<System::Windows::Forms::Form:0x00001b8> irb(main):004:0> i = f.show_dialog => #<System::Windows::Forms::DialogResult:0x00001ea> Am I missing something? On Fri, Nov 14, 2008 at 9:08 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: We need DLR REPL for testing interop. Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Michael Letterle Sent: Friday, November 14, 2008 5:50 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Executables 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 <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: Could be --repl. From: Oleg Tkachenko Sent: Friday, November 14, 2008 5:35 PM To: Jim Deville; Tomas Matousek; IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables 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 at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: RE: Executables I like the switch option best. We also need to add a ?e option to pass some of the specs. JD From: Tomas Matousek Sent: Thursday, November 13, 2008 2:12 PM To: IronRuby Team Cc: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Executables Today we have ir.exe that combines functionality of ruby.exe and a command line REPL. Shouldn''t we have also iruby.exe that mimics ruby.exe (ie. if no file is given it reads input from standard input)? Some specs expects that behavior (they start a new process ruby.exe and write to its input stream). Another option would be to have a single executable ir.exe that behaves like ruby.exe and e.g. --dlr switch that makes it run DLR REPL loop. Tomas _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081115/9895f982/attachment-0001.html>