Open jwons opened 4 years ago
Forgive me Chris, I only just now understand. When we recur on preprocess_source, the new copied in lines would not be preprocessed if we didn't re-read the file. I still think there could be a way to do this without reading the file 3 times, but I now understand it was not without reason.
Right now there are three preprocessing functions, each aiming to do a different thing. Each reads and writes the file in its entirety. Can we instead have the functions process a single line so we can do the entire preprocessing at a time?