General principle is that it's not a replacement for Vim/Emacs or some IDE, but just a window where you paste some Lua code/logic or type/edit a couple of lines. And not a mod development framework ...
The logic for parsing mod settings is taken from the information provided in the Factorio wiki, with inspiration from the sample code provided by Factorio dev Rseding91 on the forums. The save header ...