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

Any plans to support yaml 1.2? #51

Open
s6mike opened this issue Jan 7, 2023 · 4 comments
Open

Any plans to support yaml 1.2? #51

s6mike opened this issue Jan 7, 2023 · 4 comments

Comments

@s6mike
Copy link

s6mike commented Jan 7, 2023

No description provided.

@s6mike
Copy link
Author

s6mike commented Jan 7, 2023

Specifically I am concerned about 1.1's implicit typing leading to issues like the Norway problem, where NO is converted to boolean false.

https://hitchdev.com/strictyaml/why/implicit-typing-removed/

This kind of implicit typing was removed from YAML 1.2

@gvvaughan
Copy link
Owner

I would LOVE to support YAML 1.2! But, I also do not want to write a full implementation. lyaml is a thin Lua wrapper for the existing libyaml, and unfortunately that library only supports YAML 1.1.

If you know of a good, reasonably fast, actively supported, well distributed YAML 1.2 library, I would be happy to schedule a version of lyaml that uses its API.

Depending on your interest and resources, I am sure you could make a lot of people... myself included... very happy if you forked libyaml to add 1.2 support, and then lyaml would get it for free!

@gvvaughan
Copy link
Owner

See also #14

@s6mike
Copy link
Author

s6mike commented Jan 8, 2023 via email

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

No branches or pull requests

2 participants