Molten icon indicating copy to clipboard operation
Molten copied to clipboard

[WIP] Molten - Style-preserving TOML parser.

Results 13 Molten issues
Sort by recently updated
recently updated
newest added

Hi! I'd like to share a possible alternative design for the lossless AST. I think the current Molten design is great, but it's always better to have more options available...

Discussion

see https://github.com/alexcrichton/toml-rs/pull/223

Discuss what features the API should have. As far as implementing it, we should start with: - Removal of elements - Simple appending of values at the end of containers...

API
Discussion

Re: https://github.com/LeopoldArkham/Molten/pull/40#issuecomment-349012966 This PR - adds some fuzzer documentation/introduction, - runs fuzzer with debug assertions (they should really hold), - and finally adds a Travis build that does nothing but...

- `Parser::new()` should become `Parser::from()` and accept anything that AsRef's to `&str` - `Parser::from_file()` should be added and accept anything that AsRef's to `Path` - `TOMLDocument::save_to()` should be added and...

easy
API
Testing

If a TOML document does not contain a newline at the end of the file, appending to it will cause the new KV to be on the same line as...

Currently, the objects in the AST use exactly the names given to them in the file. That's good, except that it includes things before a dot. So, for instance, the...

bug
Discussion

`tests/strings.toml` should have more cases added: - Non ASCII characters - Trying harder to break multiline basic strings - Making sure escaped characters work correctly Basically it should test everything...

Testing

As of #33, errors can report the position where they occurred; Add some tests for this using some malformed TOML files.

easy
Testing

A bare key [must be non empty](https://github.com/toml-lang/toml#keyvalue-pair); The parser should enforce this and raise an appropriate issue when needed.

bug
Testing