rename

[?]
Apr 10, 2023, 5:31 AM
UY647VAQW72BNAUPRRREATG54F44WAXAY3SXZVWZSDVHFU4OZJOAC

Dependencies

  • [2] F735F5KO now fix copy-paste errors in GET*
  • [3] GXE3ESLG abstraction: roll forward/back
  • [4] 66K4QVGB audit all calls to live.eval
  • [5] WYKKFV2G prevent overriding foundational definitions
  • [6] 5U3UBEQD new command: batch GET
  • [7] LRDM35CE app running again
  • [8] QFURHRTP rename globals to have a single uppercase letter
  • [9] BSDXVB3H backport some doc updates and renames
  • [10] CYEH4AXB a prefix for metadata in the manifest
  • [11] YOK66CEW small change to simplify the driver's task
  • [12] FSENRH6J clear error message on unknown definition
  • [13] F7J2IBRS support including a default_map

Change contents

  • replacement in live.lua at line 257
    [6.6384][6.6384:6430](),[6.6430][6.653:686](),[6.686][4.11:119](),[4.119][6.687:765](),[6.6496][6.687:765]()
    local binding = buf:match('^%S+%s+(%S+)')
    Live.manifest[binding] = nil
    live.eval(binding..' = nil') -- ignore errors which will likely be from keywords like `function = nil`
    local next_filename = live.versioned_filename(Live.next_version, binding)
    [6.6384]
    [6.6574]
    local definition_name = buf:match('^%S+%s+(%S+)')
    Live.manifest[definition_name] = nil
    live.eval(definition_name..' = nil') -- ignore errors which will likely be from keywords like `function = nil`
    local next_filename = live.versioned_filename(Live.next_version, definition_name)
  • replacement in live.lua at line 262
    [6.6619][6.766:806]()
    table.insert(Live.history, binding)
    [6.6619]
    [3.11]
    table.insert(Live.history, definition_name)
  • replacement in live.lua at line 265
    [6.7004][6.7004:7050](),[6.7050][2.8:53]()
    local binding = buf:match('^%S+%s+(%S+)')
    local val, _ = live.get_binding(binding)
    [6.7004]
    [6.50]
    local definition_name = buf:match('^%S+%s+(%S+)')
    local val, _ = live.get_binding(definition_name)
  • replacement in live.lua at line 275
    [6.86][6.86:152](),[6.152][2.54:101]()
    for binding in buf:gmatch('%s+(%S+)') do
    print(binding)
    local val, _ = live.get_binding(binding)
    [6.86]
    [2.101]
    for definition_name in buf:gmatch('%s+(%S+)') do
    print(definition_name)
    local val, _ = live.get_binding(definition_name)
  • replacement in live.lua at line 290
    [6.7126][6.7126:7150](),[6.7150][5.1216:1394]()
    local binding = cmd
    if Live.frozen_definitions[binding] then
    live.send_to_driver('ERROR definition '..binding..' is part of Freewheeling infrastructure and cannot be safely edited live.')
    [6.7126]
    [5.1394]
    local definition_name = cmd
    if Live.frozen_definitions[definition_name] then
    live.send_to_driver('ERROR definition '..definition_name..' is part of Freewheeling infrastructure and cannot be safely edited live.')
  • replacement in live.lua at line 295
    [5.1415][6.1125:1203](),[6.7150][6.1125:1203]()
    local next_filename = live.versioned_filename(Live.next_version, binding)
    [5.1415]
    [6.7228]
    local next_filename = live.versioned_filename(Live.next_version, definition_name)
  • replacement in live.lua at line 297
    [6.7274][6.1204:1291]()
    table.insert(Live.history, binding)
    Live.manifest[binding] = Live.next_version
    [6.7274]
    [3.36]
    table.insert(Live.history, definition_name)
    Live.manifest[definition_name] = Live.next_version