The print_program method is an example of a quick hack that has snowballed into something truly horrible. Every time I modify it to fix something, it usually causes problems somewhere else, and it is hard to debug. Debugging a fix for #260 made me lose all patience for it, and so I rewrote it from scratch.
There are some tasks that still need to be done before it should be merged though:
[ ] maintain feature parity with old version
[ ] update unit tests
[ ] pretty print function output
[ ] make source uri available on all global block objects
The print_program method is an example of a quick hack that has snowballed into something truly horrible. Every time I modify it to fix something, it usually causes problems somewhere else, and it is hard to debug. Debugging a fix for #260 made me lose all patience for it, and so I rewrote it from scratch.
There are some tasks that still need to be done before it should be merged though: