<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Integration with Xcode would be straightforward but it’s been Android Studio<div class="">I’ve most experience with. For that it was just a case of adapting a gradle</div><div class="">plugin to add a rebuild phase. If you can’t automate it running a generator</div><div class="">when you change the surface of your api is not a big overhead.</div><div class=""><br class=""></div><div class="">Supporting playgrounds would involve being able to import a user module</div><div class="">to publish the api and link with python. Is that possible?</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 11 Nov 2017, at 18:20, Chris Lattner &lt;<a href="mailto:sabre@nondot.org" class="">sabre@nondot.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Nov 11, 2017, at 9:53 AM, Joe Groff via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline"><br class="">On Nov 11, 2017, at 9:44 AM, John Holdsworth &lt;<a href="mailto:mac@johnholdsworth.com" class="">mac@johnholdsworth.com</a>&gt; wrote:<br class=""><br class=""></div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class="">Isn’t there a third way? I wrote a bridge between Swift and Java without having to</div><div class="">change the compiler at all by using a code generator to generate bridging Swift</div><div class="">rather than having a Java importer.</div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Good point. For unidirectional importing without deep support for overriding or runtime integration like what we do with ObjC, which AIUI is the extent of Chris's ambition with Python interfacing here, a code generator can get the job done without requiring deep compiler integration, though at the expense of needing an added tool in your build process. Have you looked at all into making SwiftJava integrate with the package manager or with Xcode yet? How's that experience?</div></div></blockquote><br class=""></div><div class="">Also, what is the playground experience like?</div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""></div><br class=""></div></div></blockquote></div><br class=""></body></html>