.
[?]
Apr 26, 2022, 5:23 AM
M7W3VZ5MKIKP553SGGNFY5IWUTDERVSCOZWFIQ3CEZEHP2YPHCNQCDependencies
- [2]
QCLPIXMPextract a function - [3]
6IQOBYPTrepl - [4]
O2UAHLOVcopy how Lua 5.3 REPL prints expr values - [*]
R5QXEHUIsomebody stop me
Change contents
- edit in mu.lua at line 7
local function gather_results(success, ...)local n = select('#', ...)return success, { n = n, ... }end - edit in mu.lua at line 20
-- based on https://github.com/hoelzro/lua-repl - edit in mu.lua at line 34
endlocal function gather_results(success, ...)local n = select('#', ...)return success, { n = n, ... } - edit in mu.lua at line 50
-- print value of expression the way Lua 5.3 does it: by prepending 'return' to the line