<commit_before>local settings = {
	"emufun.cfg";	-- main program settings
	"controls.cfg";	-- keybindings
	"library.cfg";	-- top level library configuration
}

-- if this is our first time, write the default configuration files
for _,file in ipairs(settings) do
	--love.filesystem.write(file, love.filesystem.read(file))
end

-- load program configuration
eprintf("program ")
emufun.config = {}
local config = love.filesystem.load("emufun.cfg")
setfenv(config, emufun.config)
config()

-- load library configuration
eprintf("library ")
emufun.library = new "node.Node" ("Internal Library Root")
emufun.library.filename = ""<commit_msg>re-enable writing of default configuration files, oops<commit_after>local settings = {
	"emufun.cfg";	-- main program settings
	"controls.cfg";	-- keybindings
	"library.cfg";	-- top level library configuration
}

-- if this is our first time, write the default configuration files
for _,file in ipairs(settings) do
	love.filesystem.write(file, love.filesystem.read(file))
end

-- load program configuration
eprintf("program ")
emufun.config = {}
local config = love.filesystem.load("emufun.cfg")
setfenv(config, emufun.config)
config()

-- load library configuration
eprintf("library ")
emufun.library = new "node.Node" ("Internal Library Root")
emufun.library.filename = ""
{'fraction_non_alphanumeric': 0.12987012987012986, 'fraction_numerical': 0.0, 'mean_word_length': 4.954545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3544157', 'n_tokens_mistral': 408, 'n_tokens_neox': 393, 'n_words': 114}