teemperor added a comment.

Instead of copying the text from the Python page, I was actually thinking 
whether we should make the 'scripting' page more generic and just add the 
language-specific examples for Python and Lua there. I am not sure what's the 
best way to do that visually though with RST. We could just go for raw HTML and 
use a tab switcher like this:

F17403158: Screenshot 2021-06-15 at 08.45.14.png 
<https://reviews.llvm.org/F17403158>

Also I don't think a lot of LLDB distributors include Lua at the moment, so I 
think that should be pointed out at some point, otherwise this leads to 
confusion.



================
Comment at: lldb/docs/use/lua-reference.rst:21
+
+   (lldb) script
+   >>> t = { 1, 2, 3 }
----------------
I think that only works if Lua is the default? `script -l lua --` seems what 
should work for all users independently of the default/config (unless Lua is 
disabled of course)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104281/new/

https://reviews.llvm.org/D104281

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to