1
0
An advanced pretty printer, aiming for human readability.
Go to file
Jon Michael Aanes 87b12e15b2 Fixed issues with analýse_structure.lua
The most significant was a misclassification of tables with number
exclusive keys, with huge jumps between each one.
Example: { 1, [300] = 300 }

This was caused by logic faults in `get_table_info`, which has been fixed.

When solving above issue, a two new issues appeared:

1.	Due to a logic fault, the count of number of elements in a table was wrong,
	leading to issues with tables with boolean keys. This was fixed with simple
	logic changes.
2.	Some very small tables (1 element) would be classified as sets, and thus
	rendered wrongly. This was fixed by adding a MINIMUM_NUMBER_OF_SET_ELEMENTS
	constant.
2017-04-14 13:06:43 +02:00
test Fixed issues with analýse_structure.lua 2017-04-14 13:06:43 +02:00
analyze_structure.lua Fixed issues with analýse_structure.lua 2017-04-14 13:06:43 +02:00
function.lua Added some thoughts on pretty printing of functions, into the header of function.lua 2017-04-06 14:46:45 +02:00
init.lua Implemented more advanced utf8 support + moved fractional support to the SPECIAL_NUMBER list. 2017-04-12 14:52:51 +02:00
library.lua Added JIT std library. 2017-01-05 15:07:08 +01:00
number.lua Added more tests. 2017-04-12 15:15:03 +02:00
pretty.lua Fixed issues with analýse_structure.lua 2017-04-14 13:06:43 +02:00
table_type.lua Moved some constants into their own file, more info is stored in l, and improved some marker stuff. 2017-04-03 11:24:51 +02:00