Giter VIP home page Giter VIP logo

Comments (6)

zkat avatar zkat commented on September 2, 2024

Two things:

  1. we probably want to look at what the serde xml parsers do here, because children can mean different things and it needs to be configurable
  2. We should wait until #70 lands to do this, since that’s going to break a lot of stuff

from kdl-rs.

scott-wilson avatar scott-wilson commented on September 2, 2024

Two things:

  1. we probably want to look at what the serde xml parsers do here, because children can mean different things and it needs to be configurable
  2. We should wait until #70 lands to do this, since that’s going to break a lot of stuff
  1. Sounds good, I'll do some research.
  2. Sounds good. I may do a POC anyways to get a feel for how to get it done. Worst case, it gets scraped and I use the knowledge to do something better.

from kdl-rs.

zkat avatar zkat commented on September 2, 2024

That seems fine by me. I expect it to be a bit of a challenge tbh but that might be because I’ve never implemented a serde thing before.

from kdl-rs.

scott-wilson avatar scott-wilson commented on September 2, 2024

Same, haven't implemented serde before. But, that's the fun! We'll learn how to implement it together!

from kdl-rs.

zkat avatar zkat commented on September 2, 2024

Another useful reference might be Kaydle: https://github.com/Lucretiel/kaydle, which is the last attempt I know of of someone trying to serdeify kdl, and they did some interesting things, just never finished it (it's a big project, it turns out!)

from kdl-rs.

zkat avatar zkat commented on September 2, 2024

although part of the reason Kaydle was big was because it wrote its own parser and it was being fancy about it. With kdl-rs you'd only really need to convert the KdlDocument struct through serde.

from kdl-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.