Thanks Eloy. I was playing with Interactive-MacRuby a bit last night.

I think the first step to using it would be to make a target to compile as a 
framework and make it cocoa pod-able. Then wiring up so can launch in app 
terminals with the app delegate or a particular window controller as top level 
object.

I was trying to figure out how to make it indent code as it is typed which irb 
does. Any thoughts on that?

Cheerio,

Michael Johnston
lastobe...@mac.com




On 2011-11-24, at 2:13 PM, Eloy Duran wrote:

> Here’s a GUI approach to using macirb: 
> https://github.com/alloy/Interactive-MacRuby
> 
> I didn’t have time to finish it yet, but it might still be useful.
> 
> On 24 nov. 2011, at 02:52, Michael Johnston wrote:
> 
>> I added basic fsevents reloading in my fork 
>> (https://github.com/lastobelus/MacRubyReload)
>> 
>> Should change to check an environment var first for list of directories to 
>> watch, and otherwise use project root. For now I just grabbed the dir of the 
>> rb_main.loc.txt entry.
>> 
>> I'm curious to experiment with automating the dynamic reloading of nib 
>> files. Anyone have any tips for that? The problem is that there are many 
>> patterns for using nibs, so it will be difficult to fully automate. But 
>> perhaps we can at least make it easy for common cases.
>> 
>> Another next step would be to attach a panel to any window with a running 
>> macirb in it whose top-level context is the window controller for that 
>> window. That might be actually fairly easy to do.
>> 
>> 
>> Cheerio,
>> 
>> Michael Johnston
>> lastobe...@mac.com
>> 
>> 
>> 
>> 
>> On 2011-11-15, at 10:01 AM, Jean-Denis MUYS wrote:
>> 
>>> Following up on my Friday suggestion, I am happy to announce that I 
>>> implemented a first version a Xcode MacRuby projects that dynamically 
>>> reloads Ruby source code into a running application, allowing for a very 
>>> dynamic incremental programming style.
>>> 
>>> go to https://github.com/jdmuys/MacRubyReload to download the project. The 
>>> ReadMe.markDown text file gives full instructions.
>>> 
>>> Hopefully MacRuby Xcode templates can evolve to automatically provide a 
>>> similar facility.
>>> 
>>> This is all very simple and very primitive. There is a lot of room for 
>>> improvement. I also apologize for my Ruby style: I probably haven't written 
>>> more than 100 or so lines of Ruby code overall yet.
>>> 
>>> I hope this gets the ball rolling.
>>> 
>>> Jean-Denis
>>> 
>>> _______________________________________________
>>> 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
> 
> _______________________________________________
> 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

Reply via email to