Hi Jason,<br><br><div class="gmail_quote">2012/12/26 Jason Felice <span dir="ltr"><<a href="mailto:jason.m.felice@gmail.com" target="_blank">jason.m.felice@gmail.com</a>></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Dec 26, 2012 at 10:25 AM, Mikael <span dir="ltr"><<a href="mailto:mikael.rcv@gmail.com" target="_blank">mikael.rcv@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 class="gmail_quote"><div>2012/12/26 Jason Felice <span dir="ltr"><<a href="mailto:jason.m.felice@gmail.com" target="_blank">jason.m.felice@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I'm putting together an Objective-C bridge for gambit here:  <a href="https://github.com/eraserhd/gambit-objc.git" target="_blank">https://github.com/eraserhd/gambit-objc.git</a>  It's not complete, but the idea is to have a form which can call Objective-C methods using keyword-syntax from gambit.  Eventually, it'll support subclassing Objective-C classes.</div>




</blockquote><div><br></div></div><div>Great!</div><div><br></div><div>Just to make it clear to someone who is not so introduced into Objective C such as what facilities for dynamic invocations and alike it has: What is the scope of your bridge, in a bit more detail?</div>


</div></blockquote><div><br></div></div><div>Right now, it wraps Objective-C objects with closures that dynamically dispatch.  This means that you can do the following:</div><div><br></div><div>(import-classes (NSString))</div>


<div><br></div><div>(display (((NSString stringWithUTF8String: "Hello, ") stringByAppendingString: "World!") 'UTF8String))))</div><div><br></div><div>Return values (except for structures, unions and opaque pointers) are implemented, parameters except for objective-c objects, structures, unions, and opaque pointers are implemented.  I'm guessing it'll be complete enough to use (without subclassing) before the holidays are over.</div>

</div></div></div></blockquote><div><br>Really neat!</div><div><br></div><div>Aha, hm, those parameter types are probably really needed to do something meaningful, at least objective-c objects and structures. What day now do you think they will become supported?</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>For instance, with your bridge, could a user dynamically create, access and invoke methods of object instances of NSApplication, NSWindow, NSView etc. and perhaps even overload methods in them?</div>

<div>


<br></div><div>Any neat facility for ObjC to Scheme callbacks?</div></div></blockquote><div><br></div></div><div>Not yet, but it is planned.  Like later, after subclassing and stuff.  My goal is to be able to develop a whole iOS app in Scheme.</div>

</div></div></div></blockquote><div><br></div><div>Super!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<span class="HOEnZb"><font color="#888888">
<div> -Jason</div></font></span></div></div></div>
</blockquote></div><br><div>Brgds,</div><div>Mikael</div><div><br></div>