<div id="compose" contenteditable="true" style="padding-left: 20px; padding-right: 20px; padding-bottom: 8px;"><div>&gt; The Swift-specific parts (i.e. any files not in the <a dir="ltr" href="http://llvm.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0">llvm.org</a> LLDB source base) are &gt; available according to the license as specified at <a dir="ltr" href="http://swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="1">swift.org</a>.  I would direct you to &gt; those licenses to see if they are compatible with your desired usage.</div><div><br></div><div>Let me rephrase that, I think that was a response to asking what Apple says you can or cannot do with REPL. I meant "Has Apple stated possible uses for REPL other than from the CLI-only interface?"&nbsp;</div><div><br></div><div>I'm looking to develop GUIs with it, but am unsure how.&nbsp;</div><div><br></div><div>Thanks,</div><div>--MGage--<br><br><div class="acompli_signature">Sent from <a href="http://aka.ms/Ox5hz3">Outlook</a></div><br></div></div>
    <div class="gmail_quote">_____________________________<br>From: Todd Fiala via swift-lldb-dev &lt;<a dir="ltr" href="mailto:swift-lldb-dev@swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">swift-lldb-dev@swift.org</a>&gt;<br>Sent: Saturday, December 5, 2015 7:33 PM<br>Subject: [swift-lldb-dev] REPL questions<br>To:  &lt;<a dir="ltr" href="mailto:swift-lldb-dev@swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="4">swift-lldb-dev@swift.org</a>&gt;<br><br><br>    <div dir="ltr">   Hi all,   <div>    <br>   </div>   <div>    Thanks for the questions on the REPL.   </div>   <div>    <br>   </div>   <div>    With respect to incorporating a REPL into another program, the text-based Swift REPL is available in and implemented via LLDB.&nbsp; As Swift LLDB is implemented on top of LLDB, there are two projects involved with regards to the source.&nbsp; The source code for the core of LLDB (as available via     <a href="http://llvm.org">llvm.org</a>) is available according to the terms of the license as spelled out at     <a href="http://llvm.org">llvm.org</a>.&nbsp; The Swift-specific parts (i.e. any files not in the     <a href="http://llvm.org">llvm.org</a> LLDB source base) are available according to the license as specified at     <a href="http://swift.org">swift.org</a>.&nbsp; I would direct you to those licenses to see if they are compatible with your desired usage.   </div>   <div>    <br>   </div>   <div>    There are at least a few apps that incorporate LLDB into their IDEs, either via the SB API (the LLDB C++-based API), via the GDB Remote protocol, and via the GDB mi protocol (via lldb-mi).&nbsp; It is definitely possible to go the route of setting up an app that communicates with LLDB to get a REPL experience that way.   </div>   <div>    <br>   </div>   <div>    I'll be able to comment more directly on questions this upcoming week.   </div>   <div>    <div>     --&nbsp;     <br>    </div>    <div class="gmail_signature">     <div dir="ltr">      -Todd     </div>    </div>    </div>  </div>   <img src="https://u2002410.ct.sendgrid.net/wf/open?upn=-2FcgwiRAxmHDdptrhrsAJKMBtNqQpWV-2BwUfjpvH9AIaqKDym4bNZWV8AlVzAY0KVeP7JVRawKxpm5K8SPrcpEgaqT7TbfmYf-2B1cIhgr5q1Q-2F2XDo1neL1LFTFi5rb9xwH78d3vUcRJPICxu8D5xKcnlcIJeEVA-2F7x52CRoDuEXE7EoM1PRGh3aGlFUQ72UZTvrX4TS8-2BtsE-2BIHyN9N6v0w6zKWQJStxPQqDMoeB6nW2g-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;">  <br><br></div>