Comments (2)
ooooh. Good catch! Please do send a PR, that looks good :)
from kdl-rs.
Looking through it again, it seems like many of the functions have extra checks for current_idx > idx
that don't seem necessary as far as I can tell, and that's part of why the insert/remove of the last index was having trouble, so I've removed those checks, and the tests seem to still pass. The last commit in my fork reflects this change.
from kdl-rs.
Related Issues (20)
- Better formatter
- Test against main kdl compliance test suite. HOT 1
- Custom float printer for consistent default float printing
- Kaydle is mentioned in the README but the only version has been yanked. HOT 3
- `KdlEntry::clear_fmt` does not clear all formatting
- Cannot easily format nodes if std::fmt::Display is in scope
- Odd error span with invalid float HOT 4
- `doc.to_string().parse()` is not idempotent HOT 1
- confusing error message for forgetting to wrap a string in quotes HOT 6
- `result.replace("\n", "\r\n")` for `KdlDocument::to_string` on Windows HOT 1
- Insert into dash-val block HOT 1
- raw string formatter is broken
- port to winnow
- Continue parsing on parse error and collect all parse errors
- KDL 2.0.0 support
- Serde Support HOT 6
- No examples for writing/changing values - how to update an attribute?
- Format for parsed KDL only indenting first child node HOT 2
- Closing curlies are pulled up into comments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kdl-rs.