Nathan Stults
2009-Nov-07 04:49 UTC
[Ironruby-core] Hosting a REPL outside the command line
I don''t suppose anyone has successfully run IRB outside of the console? I''m giving up at this point, as I get the feeling there is something special about running inside cmd.exe (on windows) that IRB really needs to feel whole - but I thought I''d throw out a net in case someone has been successful in this, or feels strongly it should be possible J Is there a standard or recommended approach to hosting a REPL outside of the context of the command line? I want to a. embed a REPL in my applications (which are windows forms) and b. provide remote access to a REPL via HTTP and SSH. Hosting IRB and taking over Standard In and Standard Out seemed ideal, but isn''t working out. An anyway, at the end of the day an IRB solution would be bound to IronRuby, and it would be nice to allow any DLR language. I''m feeling like this may be a common need, and has probably been adequately solved by now, so I guess I''m just fishing for patterns. Thanks in advance, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091106/f8c72509/attachment.html>
Tomas Matousek
2009-Nov-07 06:33 UTC
[Ironruby-core] Hosting a REPL outside the command line
Do you specifically need IRB or would you rather build your custom REPL? The latter is pretty easy: http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/ Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nathan Stults Sent: Friday, November 06, 2009 8:50 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Hosting a REPL outside the command line I don''t suppose anyone has successfully run IRB outside of the console? I''m giving up at this point, as I get the feeling there is something special about running inside cmd.exe (on windows) that IRB really needs to feel whole - but I thought I''d throw out a net in case someone has been successful in this, or feels strongly it should be possible :) Is there a standard or recommended approach to hosting a REPL outside of the context of the command line? I want to a. embed a REPL in my applications (which are windows forms) and b. provide remote access to a REPL via HTTP and SSH. Hosting IRB and taking over Standard In and Standard Out seemed ideal, but isn''t working out. An anyway, at the end of the day an IRB solution would be bound to IronRuby, and it would be nice to allow any DLR language. I''m feeling like this may be a common need, and has probably been adequately solved by now, so I guess I''m just fishing for patterns. Thanks in advance, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091107/11edf8b6/attachment.html>
Nathan Stults
2009-Nov-07 06:41 UTC
[Ironruby-core] Hosting a REPL outside the command line
I don''t need IRB - a custom REPL will do - I''ll check your link, thanks. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas Matousek Sent: Friday, November 06, 2009 10:33 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Hosting a REPL outside the command line Do you specifically need IRB or would you rather build your custom REPL? The latter is pretty easy: http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/ Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nathan Stults Sent: Friday, November 06, 2009 8:50 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Hosting a REPL outside the command line I don''t suppose anyone has successfully run IRB outside of the console? I''m giving up at this point, as I get the feeling there is something special about running inside cmd.exe (on windows) that IRB really needs to feel whole - but I thought I''d throw out a net in case someone has been successful in this, or feels strongly it should be possible J Is there a standard or recommended approach to hosting a REPL outside of the context of the command line? I want to a. embed a REPL in my applications (which are windows forms) and b. provide remote access to a REPL via HTTP and SSH. Hosting IRB and taking over Standard In and Standard Out seemed ideal, but isn''t working out. An anyway, at the end of the day an IRB solution would be bound to IronRuby, and it would be nice to allow any DLR language. I''m feeling like this may be a common need, and has probably been adequately solved by now, so I guess I''m just fishing for patterns. Thanks in advance, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091106/4d07fd94/attachment.html>