mirror of
https://github.com/yaml/libyaml.git
synced 2026-01-26 11:14:28 +00:00
With `--flow (keep|on)` run-parser-test-suite will output:
+MAP {}
+SEQ []
run-emitter-test-suite will then emit flow style collections if requested:
echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite | ./tests/run-emitter-test-suite
echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite \
--flow keep | ./tests/run-emitter-test-suite --flow keep
Also: add that yaml_private.h include again that I had thrown out. Needed
for printing directives.
Wonder if there is a way to create a directive without using the private api.
LibYAML - A C library for parsing and emitting YAML.
To build and install the library, run:
$ ./configure
$ make
# make install
Required packages:
- gcc
- libtool
- make
If you checked the source code from the Git repository, run
$ ./bootstrap
$ ./configure
$ make
# make install
Required packages:
- autoconf
- libtool
- make
For more information, check the LibYAML homepage.
Discuss LibYAML with the maintainers in IRC #libyaml irc.freenode.net.
You may also use the YAML-Core mailing list.
Submit bug reports and feature requests to the LibYAML bug tracker.
This project was developed for Python Software Foundation as a part of Google Summer of Code under the mentorship of Clark Evans.
The LibYAML module was written by Kirill Simonov xi@resolvent.net. It is currently maintained by the YAML community.
LibYAML is released under the MIT license. See the file LICENSE for more details.
Description
Languages
C
97.5%
CMake
0.9%
Makefile
0.6%
Dockerfile
0.5%
M4
0.4%
Other
0.1%