Hi Antonin, Excellent work! Would you mind if the project ships with MacRuby, as a sample code? We should perhaps customize it a little bit too, providing a way to change the font, and showing the console by default when the app starts. Also, maybe the console.rb file should be bundled with MacRuby in the standard library so that you can easily fire it up from a MacRuby app. Laurent On Oct 22, 2008, at 3:19 PM, Antonin Hildebrand wrote:
Hi Rich, I'm using console code made by Tim Burks. I cannot imagine developing Cocoa+MacRuby without something similar.
I've created a github project with sample MacRuby application: http://github.com/woid/macruby-irb/tree/master
The original project is here: http://www.rubycocoa.com/mastering-cocoa-with-ruby
best regards, Antonin
On Wed, Oct 22, 2008 at 9:01 PM, Rich Morin <rdm@cfcl.com> wrote:
It should be possible to create a macirb session that (like script/console, in Rails) loads up an app's code and then lets the user interact with it, via the keyboard. I find console very handy for exploration, so I think this would be, too.
Going a bit further, what about setting up a macirb session that lets the user interact dynamically with MR? For example, start up MR, play with the GUI, then go over to the macirb session to look at the results, overload methods, etc.
It may be that Xcode already has this sort of functionality (if so, please point me to it :). I suspect, however, that Xcode isn't really built to take advantage of dynamic languages. So, what mashups would be possible and interesting?
-r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel