libfyaml
libfyaml copied to clipboard
Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
I'm trying to get the emitter to output an array of documents in full block style. This is what the library outputs in block mode: ``` key: [ a: 1,...
Failed to build on Windows using MinGW. For example, - '_SC_PAGESIZE' undeclared in fy-emit.c:1946:22 - There's no alloca.h in Windows
The v1.2 spec states that "true", "false", "on", "off" etc. should be interpreted as their boolean value counterparts. As this library claims to support YAML 1.2, how is that handled,...
closes #41
First off `dejson` is a bad name for this. How about `yamlfmt`, `yfmt`,, `tidy` or something? JSON has nothing to do with this. So here are some changes to the...
```sh FAIL: testsuite.test 1 [A-Z0-9][A-Z0-9][A-Z0-9][A-Z0-9] - FAIL: jsontestsuite.test 1 - y_*.json ``` Source: https://gitlab.alpinelinux.org/oxr463/aports/-/jobs/117003#L707
"it's testsuite" should be "its testsuite".
https://github.com/pantoniou/libfyaml/blob/cd04f85/src/lib/fy-parse.c#L40 ``` error(compilation): clang failed with stderr: ./libfyaml/src/lib/fy-parse.c:40:2: error: invalid preprocessing directive ```
build_from_file, emit to string, build_from_string again , then emit to file, the file not the same as origin ```c fyd = fy_document_build_from_file(NULL, "key.yaml"); char *out = NULL, *in = NULL;...
See: https://gitlab.com/oxr463/overlay#installation ```sh ACCEPT_KEYWORDS="~amd64" emerge -nq dev-libs/fyaml ```