• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..18-Mar-2022-

test/18-Mar-2022-

Makefile A D18-Mar-20221.1 KiB5542

ReadMe.md A D18-Mar-2022529 3526

libyaml-emitter.c A D18-Mar-20226.7 KiB233205

libyaml-parser.c A D18-Mar-20224.1 KiB145132

ReadMe.md

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