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

KDLv2 tracking PR #7

Merged
merged 46 commits into from
Oct 12, 2024
Merged

KDLv2 tracking PR #7

merged 46 commits into from
Oct 12, 2024

Conversation

tjol
Copy link
Owner

@tjol tjol commented May 13, 2024

Implementation of KDLv2 in ckdl

tjol added 30 commits May 13, 2024 20:49
I'm trying to add the options in such a way as to get this backwards
compatibility story:

 - ABI compatibility: a program compiled with an old version should have
   unchanged behaviour when the library is substituted; This includes
   not accepting KDLv2 documents.
 - API compatibility: a program recompiled from source with a new
   version should (eventually) accept KDLv2 without any further changes.
   This will be achieved by changing the definition of KDL_DEFAULTS. For
   now, KDL_DEFAULTS is unchanged, i.e., reject KDLv2 (keeping the tests
   running)
This change is ABI incompatible because it changes the size of struct kdl_emitter_options
@tjol
Copy link
Owner Author

tjol commented May 26, 2024

Current status: the implementation is pretty much done and tested, with a slight question mark regarding multi-line string rules - see kdl-org/kdl#391

@tjol tjol merged commit eea9944 into main Oct 12, 2024
15 checks passed
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