make preprocessing more obvious

This commit is contained in:
Kartik K. Agaram 2023-04-16 10:46:40 -07:00
parent b0bcea8f95
commit e57ffabf4b
1 changed files with 2 additions and 1 deletions

View File

@ -30,12 +30,13 @@ on = {}
-- === on startup, load the version at head
function live.initialize(arg)
live.freeze_all_existing_definitions()
-- version control
Live.head = 0
Live.next_version = 1
Live.history = {} -- array of filename roots corresponding to each numeric prefix
Live.manifest = {} -- mapping from roots to numeric prefixes as of version Live.head
live.freeze_all_existing_definitions()
live.load_files_so_far()
Live.previous_read = 0