Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Mar-2022 | - | ||||
test/ | 18-Mar-2022 | - | ||||
Makefile | A D | 18-Mar-2022 | 1.1 KiB | 55 | 42 | |
ReadMe.md | A D | 18-Mar-2022 | 529 | 35 | 26 | |
libyaml-emitter.c | A D | 18-Mar-2022 | 6.7 KiB | 233 | 205 | |
libyaml-parser.c | A D | 18-Mar-2022 | 4.1 KiB | 145 | 132 |
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