AtlatestRepositorysigil-yaml
sigil-yaml / treeREADME.md
1
# sigil-yaml3
YAML parsing and serialization library for [Sigil](https://codeberg.org/sigil/sigil).5
## Features7
- Full YAML 1.2 core schema support (null, bool, int, float, string)8
- Block and flow collections (mappings and sequences)9
- Block scalars (literal and folded with chomping indicators)10
- Anchors and aliases11
- Multi-document support12
- Comments13
- YAML encoding/serialization (block and flow styles)14
- Round-trip fidelity for supported types16
## Usage18
```scheme19
(import (sigil yaml))21
;; Parse a YAML string22
(define data (yaml-read "name: sigil\nversion: 0.7.0"))24
;; Serialize to YAML25
(define output (yaml-write data))26
```28
## Dependencies30
- sigil-stdlib32
## Build34
```bash35
sigil deps install36
sigil build37
sigil test38
```40
## License42
BSD-3-Clause