Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDL v2 Support #1

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

KDL v2 Support #1

wants to merge 16 commits into from

Conversation

IceDragon200
Copy link
Owner

@IceDragon200 IceDragon200 commented Dec 13, 2023

This PR will be tracking the changes needed to support KDL2.

Design Decisions

  • KDL1 will continue to be supported (available in the Kuddle.V1 namespace)
  • The new default for kuddle will be the V2 modules, this will require existing users to either adapt to the new standard, or change their code to call the V1 modules
  • In the event of a KDL3, the groundwork will already be in place for kuddle to support it, and the same decisions as above will apply in that case
  • Because Kuddle abstracts away the document's representation (i.e. same tokens at the end of the day) most of its functionality remains unchanged, the only difference is the encoding/decoding modules

By first moving the original V1 modules into their own namespace, since we'll need those around for compatibility, it will still break existing users, but they should be able to continue by just prefixing the appropriate modules
Since v1 test cases no longer work against the v2 spec
So most of the changes currently are centered around strings and handling new keyword forms
@IceDragon200 IceDragon200 changed the title KDL2 Support KDL v2 Support Dec 13, 2023
…uncated line

That is a line that only has its newline and no spaces inside a multiline string, these can occur from space trimming by text editors and is expected to work as if it had sufficient spaces to begin with
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant