1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-25 00:16:54 +00:00
CC-Tweaked/src/main/resources
Jonathan Coates 798868427e
Use a Wadler style pretty printer in the Lua REPL (#334)
- 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
2020-01-17 22:51:36 +00:00
..
assets/computercraft Use a Wadler style pretty printer in the Lua REPL (#334) 2020-01-17 22:51:36 +00:00
META-INF Merge pull request #553 from SquidDev-CC/ComputerCraft/feature/fancy-printout 2018-06-19 19:44:51 +01:00
mcmod.info Expose a stub "cctweaked" mod 2019-03-30 16:41:45 +00:00
pack.mcmeta Rebranding! 2017-11-15 16:25:10 +00:00
pack.png Attempt to reduce jar size a little 2019-02-14 10:53:18 +00:00