Work in progress: began implementing auto-compile mechanism