provide a filename for clearer error callstacks
Dependencies
- [2]
T3RKP4IJclarify a comment - [3]
2NQZJUPTstart saving edits right in the source dir - [4]
Y5BXW7FXcheck for syntax errors when loading app - [5]
QFURHRTPrename globals to have a single uppercase letter - [6]
LRDM35CEapp running again - [7]
WNHI74P7load manifest in correct order - [8]
CYEH4AXBa prefix for metadata in the manifest - [9]
GXE3ESLGabstraction: roll forward/back - [10]
EZHO4TSWnew file-system format for freewheeling apps - [11]
UY647VAQrename - [12]
NVEA3SMUreorg - [13]
WYKKFV2Gprevent overriding foundational definitions - [14]
TI4UMAV6refuse to delete frozen definitions
Change contents
- replacement in live.lua at line 65
local status, err = live.eval(buf)local status, err = live.eval(buf, filename) - replacement in live.lua at line 155
live.eval(definition_name..' = nil') -- ignore errors which will likely be from keywords like `function = nil`live.eval(definition_name..' = nil', 'driver') -- ignore errors which will likely be from keywords like `function = nil` - replacement in live.lua at line 200
local status, err = live.eval(buf)local status, err = live.eval(buf, definition_name) - edit in live.lua at line 318
-- filename will show up in call stacks for any error messages - replacement in live.lua at line 323
function live.eval(buf)function live.eval(buf, filename) - replacement in live.lua at line 330
local f, err = load(buf, 'REPL')local f, err = load(buf, filename or 'REPL')