[Lldb-commits] [PATCH] D71234: [lldb/Lua] Implement a Simple Lua Script Interpreter Protype

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 9 16:57:22 PST 2019

JDevlieghere created this revision.
JDevlieghere added a reviewer: LLDB.
Herald added subscribers: abidh, mgorny.
Herald added a project: LLDB.
JDevlieghere edited the summary of this revision.
JDevlieghere added a parent revision: D71232: [lldb/Lua] Add Boilerplate for a Lua Script Interpreter.

This implements a very elementary Lua script interpreter. It supports running a single command as well as running interactively. It uses editline if available. It's still missing a bunch of stuff though. Some things that I intentionally ingored for now are that I/O isn't properly hooked up (so every `print` goes to stdout) and the non-editline support which is not handling a bunch of corner cases. The latter is a matter of reusing existing code in the Python interpreter.

Discussion on the mailing list: http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html




-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71234.232966.patch
Type: text/x-patch
Size: 6590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191210/9b143035/attachment-0001.bin>

More information about the lldb-commits mailing list