<div dir="ltr">It doesn't need Cocoa at all.  Right now it just depends on -lffi -lobjc and Foundation.framework.  Foundation could be removed (I think it's just for -retain and -release).  I know GNUstep's -lobjc is different from Apple's, but it should have equivalent functionality that would be easy to port to if it doesn't have the same functions.<div>
<br></div><div style>Makefile twiddling would probably be required in unusual environments.</div><div style><br></div><div style>I'd be happy to help. :)</div><div style><br></div><div style>-Jason</div><div style><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 19, 2013 at 3:51 PM, Jeff Read <span dir="ltr"><<a href="mailto:bitwize@gmail.com" target="_blank">bitwize@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Quick question: Will this bridge work in the absence of a Cocoa runtime? I use Objective-C in places that don't have a Cocoa/Openstep/GNUstep stack, and something like this would be hella useful, even there.</p>

<div class="gmail_quote"><div><div class="h5">On May 19, 2013 1:22 PM, "Jason Felice" <<a href="mailto:jason.m.felice@gmail.com" target="_blank">jason.m.felice@gmail.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Someone reminded me that I didn't include the link.  Duh.<div><br></div><div>It's here:<br><div><br></div><div><a href="https://github.com/maitria/gambit-objc" target="_blank">https://github.com/maitria/gambit-objc</a><br>


</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 18, 2013 at 12:12 PM, Jason Felice <span dir="ltr"><<a href="mailto:jason.m.felice@gmail.com" target="_blank">jason.m.felice@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>I've just released gambit-objc 0.1.0.  This is the "it has the basics, and the implementation is complete enough for real projects" release.</div>


<div><br></div>
<div>* It gives you access to Objective-C class objects.  The easiest way is:</div><div><br></div><div>  (import-classes (NSString NSDictionary))</div><div><br></div><div>  after which, you can refer to them.</div>
<div><br></div><div>* It dynamically dispatches Objective-C methods:</div><div><br></div><div>  (: NSString stringWithUTF8String: "hello, world")</div><div><br></div><div>* It supports marshaling of native Scheme objects to C/Objective-C types for parameter and return values, including structures, selectors, all integral types, and UTF8 strings.  It wraps Objective-C objects with foreign.</div>



<div><br></div><div>* It has a objc-repl, an extended version of gsi which supports square-brace syntax, like so:</div><div><br></div><div>  [NSString stringWithUTF8String: "Hello, world!"]</div>
<div><br></div><div>You'll find a minimal sample Cocoa app in the distribution as well.</div><div><br></div><div>There are many cool things that can be added.  I'd love to collaborate, help people use it, and otherwise enable its adoption.</div>



<div><br></div><div>I'm really happy with how elegant it ended up (after a couple partial implementations were scrapped).  My next focus will be making it easy to boot on iOS and bring into iOS projects.</div><span><font color="#888888">
<div><br></div><div>-Jason</div></font></span></div>
</blockquote></div><br></div>
<br></div></div><div class="im">_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></div></blockquote></div>
</blockquote></div><br></div>