1libyaml-parser-emitter
2======================
3
4Parser and Emitter CLI tools for libyaml
5
6# Synopsis
7
8```
9make build
10make test
11```
12
13# Usage
14
15Print parse events for a YAML file (or stdin):
16```
17./libyaml-parser file.yaml
18./libyaml-parser < file.yaml
19cat file.yaml | ./libyaml-parser
20```
21
22Print the YAML for a libyaml-parser events file (or stdin):
23```
24./libyaml-emitter file.events
25./libyaml-emitter < file.events
26cat file.events | ./libyaml-emitter
27```
28
29# Build
30
31```
32export LIBYAML_DIR=/path/to/libyaml   # Optional
33make build
34```
35