Improve maintainability of algorithm_parsing
This is mostly a note of my experience with the module, rather than something to urgently fix. While working on !106 (merged) I had to debug the code that is generated. Because of how code generation works, this is a complex task, requiring a careful read through the source.
I found that debugging was helped by using astor.to_source
, which prints the generated AST back as Python code.