Kat Marchán

Results 343 comments of Kat Marchán

@garrisonhh one thing that might be of interest is https://github.com/lucretiel/kaydle, which has a Rust implementation optimized for streaming parsing. It might be too Rust-flavored to work for C, tho?

* args are ordered, props are not. * props follow a last-prop-wins rule for duplicate entries. * children/document nodes MUST be ordered * keywords cannot be identifiers (null, true, false)

@tjol this is really awesome! Please go ahead and PR this to this repo's README as a C implementation (and do the same for https://github.com/kdl-org/kdl-org.github.io/blob/main/src/_includes/partials/implementations.md)! I'm gonna close this issue...

oh and you probably wanna add it to Python and C++ too :)

Oh oops. Yeah I would only expect those to be prefixes.

Sounds like it's about time we wrote an actual grammar for it haha

I mean yes, it's weird, but I had a hard time coming up with something that would let you say "start at the top". Like, would it be better to...

I just realized that `+` and `~` are both valid KDL identifier characters. *sigh* Let's PR this and figure out a way around this, tho :)

I'm gonna /cc @bonkydog on this one, since it relates to their team. But my completely nonofficial position on this is that I like it, pending Brian's team's approval 👍

Brief update: We've moved this internally to appropriate channels and we'll be doing an internal review + prioritization of this feature. No timeline until that's done.