AtlatestRepositorysigil-yaml
1# sigil-yaml
2
3YAML parsing and serialization library for [Sigil](https://codeberg.org/sigil/sigil).
4
5## Features
6
7- 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 aliases
11- Multi-document support
12- Comments
13- YAML encoding/serialization (block and flow styles)
14- Round-trip fidelity for supported types
16## Usage
18```scheme
19(import (sigil yaml))
21;; Parse a YAML string
22(define data (yaml-read "name: sigil\nversion: 0.7.0"))
24;; Serialize to YAML
25(define output (yaml-write data))
26```
28## Dependencies
30- sigil-stdlib
32## Build
34```bash
35sigil deps install
36sigil build
37sigil test
38```
40## License
42BSD-3-Clause