Comments (7)
WIP serde
implementation is here: https://github.com/lucretiel/kaydle. It's coming along, slowly but surely. It's challenging because serde is very much a structured object / array format, whereas KDL is node-oriented, so I have an opinionated mapping from one to the other. Contributions are welcome, thought there's a lot about my design intent that I haven't written up in the comments yet, so until it hits 1.0 I may be pretty conservative in what I accept if it diverges from that. I work on it (at least) every Sunday at 7pm EST on twitch and I'd be happy to talk at a high level about my design for anyone attending.
from kdl-rs.
This is now out of scope for kdl-rs. It's going to be a document-oriented parser.
from kdl-rs.
@Lucretiel FYI your twitch link is broken.
from kdl-rs.
Hi Kat!
I've never before implemented serde support for a language, but I'd love to take a stab at that here! Would that be amenable to you?
from kdl-rs.
Oh! I should have put a note here. @Lucretiel is already working on a serde-based parser that I expect will replace this one
from kdl-rs.
Ah, sounds good! I'll keep an eye out for that!
from kdl-rs.
Fixed, thank you
from kdl-rs.
Related Issues (20)
- Type annotations are ignored HOT 2
- Derive for KDL HOT 1
- Unquoted strings cause hard to reason about KDL error HOT 2
- Expose `identifier`, `node_value`, etc. functions? HOT 1
- Query API
- 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
- Insertion/removal behavior HOT 2
- `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
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.