1
0

Very minor adjustments to README

This commit is contained in:
Jon Michael Aanes 2017-07-20 13:00:26 +02:00
parent 93beb4bd1e
commit ff2c70082a

View File

@ -1,3 +1,4 @@
# Pretty # # Pretty #
`pretty` is an advanced pretty printer for [Lua](lua.org) aiming primarily for `pretty` is an advanced pretty printer for [Lua](lua.org) aiming primarily for
@ -101,6 +102,7 @@ printers specified below.
I'm looking into implementing following features: I'm looking into implementing following features:
- Add a dedicated unicode submodule, to handle a bunch of cases.
- Add support for `setmetatable`, and exploring the values accessible through - Add support for `setmetatable`, and exploring the values accessible through
it. it.
- Provide nice formatting for `cdata` datatype in LuaJIT. - Provide nice formatting for `cdata` datatype in LuaJIT.
@ -109,15 +111,11 @@ I'm looking into implementing following features:
- Look into using concat operation to improve appearance of overly long - Look into using concat operation to improve appearance of overly long
non-breaking strings. Attempt to break near whitespace. non-breaking strings. Attempt to break near whitespace.
- Attempt to fit output within a predefined width limit. Default to 80. - Attempt to fit output within a predefined width limit. Default to 80.
- Find a better name than `pretty`.
- Add option for colored output. Primarily syntax highlighting, but also - Add option for colored output. Primarily syntax highlighting, but also
[BlueJ-style](www.bluej.org/about.html) scope highlighting, with some faint [BlueJ-style](www.bluej.org/about.html) scope highlighting, with some faint
background colors. background colors.
- Look more into `string.dump` in the core library. - Look more into `string.dump` in the core library.
- Better support upvalues for in functions. Complete support is impossible - Find a better name than `pretty`.
without traversing the original code or inspecting the intermediate
representation, due to lexical scoping. (Pluto does it, but it's written in
C.)
## Other pretty printers ## Other pretty printers