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-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Nathan Stults
Sent: Friday, November 06, 2009 8:50 PM
To: ironruby-core@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



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to