[swift-lldb-dev] REPL questions
Perry E. Metzger
perry at piermont.com
Mon Dec 7 20:12:01 CST 2015
On Mon, 07 Dec 2015 08:29:39 -0800 Todd Fiala <tfiala at apple.com>
wrote:
> The Swift REPL works by injecting code into a separate Swift
> process.
[...]
Thanks for this and the rest of the technical information you've
provided here. It is quite useful.
> I don't think interpreting will be easier if you plan to base your
> code on what you find in LLDB. The JIT is all there, but I don't
> think there is any existing interpreter code (Sean - please correct
> me if I'm wrong here). Unless that's incorrect, I think you'd find
> that you need to write more code to handle interpreting rather than
> JIT-ing it.
"Interpreting" can be read as "executing user provided extension
language source code at run time". A JIT is just as useful for this
purpose as a "true" interpreter (whatever that might be).
I presume questions about the JIT stuff in the LLDB codebase should go
to this list?
> Hope that helps!
It is very helpful! Thank you!
Perry
--
Perry E. Metzger perry at piermont.com
More information about the swift-lldb-dev
mailing list