Iirb is actually a library and has more features.

Iirb:
* can set the prompt in a .irbrc file
* can be nested (you can start a new irb session from within irb, even giving 
it a new target object to use as self)
* as a library, irb can be incorporated into other projects

Irb is the REPL for MRI, it just happens that the current design of the DLR 
gives a REPL pretty easily, so ir.exe is also a REPL.

JD



________________________________
From: Shay Friedman <shay.fried...@gmail.com>
Sent: October 09, 2009 1:54 AM
To: ironruby-core@rubyforge.org <ironruby-core@rubyforge.org>
Subject: [Ironruby-core] What is the difference between ir and iirb?

When no arguments are passed, they both start a REPL console only that iirb 
shows the time of each operation. Are there more differences?

Thanks,
Shay.
--------------------------------------------------
Shay Friedman
Author of IronRuby Unleashed
http://www.IronShay.com
Follow me: http://twitter.com/ironshay
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to