Maurice Makaay
|
9680c2b844
|
Implemented TOML arrays as a linked list, which prevents a lot of memory copying on large arrays. Also implemented a json comparison, inspired by BurnSushi's version, which makes the tests work when keys in JSON maps are not in the expected order.
|
2019-06-29 23:11:03 +00:00 |
Maurice Makaay
|
febe1ff568
|
Bits of code cleanup, no functional changes.
|
2019-06-28 08:23:43 +00:00 |
Maurice Makaay
|
5782971bde
|
100% compatibility with the BurntSushi tests established.
|
2019-06-27 22:43:17 +00:00 |
Maurice Makaay
|
0d4cb356e9
|
Straightening out a few small wrinkles that came up from testing against the BurntSushi testset.
|
2019-06-27 22:01:56 +00:00 |
Maurice Makaay
|
b95f255ae7
|
Moved all parser code into subpackage 'parse'.
|
2019-06-26 21:51:42 +00:00 |
Maurice Makaay
|
54cb75955d
|
Went over the full TOML AST implementation to give stuff good names.
Also pushed all tests to ast_test to make sure that the public interface
is sufficient for using the package
|
2019-06-26 15:38:32 +00:00 |
Maurice Makaay
|
688894dbf2
|
Extracted the toml AST to its own subpackage. Preparation for having encoder and decoder as well, not all inside the main toml dir.
|
2019-06-26 13:57:22 +00:00 |