disco
disco copied to clipboard
Switch to prettyprinter library
The prettyprinter
library looks like it has a lot of nifty features that will be useful in the future (supporting multiple output formats, annotations, etc.). We should look into porting over the Disco pretty printer.
After looking into this a bit more, we should definitely do this. prettyprinter
looks like it has become pretty standard, is actively maintained, and I think will be really useful in the future in order to e.g. output LaTeX. #339 is related. This may be a big project in terms of touching a lot of code, but should be relatively straightforward.
Note that there are now a bunch of good examples of usingprettyprinter
in https://github.com/swarm-game/swarm/ .