[txmt-dev] MacRuby

Elia Schito elia at schito.me
Mon Sep 24 22:06:28 UTC 2012


Hi there,
I tried to add the MacRuby framework to TM2, but I found that ARC and GC
are not friends…

I got something done removing all arc related settings from target files
and reached this:

Sep 24 01:40:33 Harpo-III TextMate[1978]: hello from Ruby!
> Sep 24 01:40:33 Harpo-III TextMate[1978]: Result from MacRuby: 1
> Sep 24 01:40:35 Harpo-III com.apple.launchd.peruser.501[297]
> ([0x0-0x1eb1eb].com.macromates.TextMate.preview[1978]): Job appears to have
> crashed: Segmentation fault: 11
> Sep 24 01:40:35 Harpo-III ReportCrash[1897]: Saved crash report for
> TextMate[1978] version 2.0.0-alpha.9314+git.0201679 (9314) to
> /Users/elia/Library/Logs/DiagnosticReports/TextMate_2012-09-24-014035_Harpo-III.crash


the code is up here <https://github.com/elia/textmate/tree/macruby>, I
wonder if there's a way to make the work together and let us conquer the
world writing TM plugins in MacRuby… (highlights: the macruby
glue<https://github.com/elia/textmate/blob/macruby/Applications/TextMate/src/TMPlugInController.mm#L244>,
arc stuff removal<https://github.com/elia/textmate/commit/cad4edd7c7f13ab4ed0eca83503befb41fe0c3cb>,
the contents of the plugin loader<https://gist.github.com/4e67583309975c2cdc9d>
)

Elia


PS. I'm not a Cocoa expert :) so any suggestion is welcome

—
☁ @elia <http://twitter.com/elia> (twitter) ✎ elia at schito.me (gtalk)
☎ (+39) 348/9051393  perlelia at gmail.com (FaceTime)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20120925/9e8a978f/attachment.html>


More information about the textmate-dev mailing list