disco icon indicating copy to clipboard operation
disco copied to clipboard

Switch to prettyprinter library

Open byorgey opened this issue 4 years ago • 1 comments

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.

byorgey avatar Aug 05 '20 02:08 byorgey

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.

byorgey avatar Mar 10 '22 20:03 byorgey

Note that there are now a bunch of good examples of usingprettyprinter in https://github.com/swarm-game/swarm/ .

byorgey avatar Oct 19 '23 11:10 byorgey