mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-11 21:33:15 +00:00

- Add a cc.pretty module, which provides a Wadler style pretty printer [1]. - The cc.pretty.pretty function converts an arbitrary object into a pretty-printed document. This can then be printed to the screen with cc.pretty.{write, print} or converted to a string with cc.pretty.render. - Convert the Lua REPL to use the pretty printer rather than textutils.serialise. [1]: http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf