1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-09-28 15:08:47 +00:00
CC-Tweaked/src/test/resources/test-rom/spec
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
..
apis Fix spacing on all of the rom (#323) 2019-12-07 10:33:47 +00:00
modules/cc Use a Wadler style pretty printer in the Lua REPL (#334) 2020-01-17 22:51:36 +00:00
programs Fix spacing on all of the rom (#323) 2019-12-07 10:33:47 +00:00
base_spec.lua A couple of io fixes 2020-01-01 09:01:00 +00:00
test_helpers.lua A couple of io fixes 2020-01-01 09:01:00 +00:00