Commit4fa75ee9Recorded29 Mar 2026Repositorysigil-yaml

Add README

Changed
 README.md | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
Diff
README.mdadded
@@ -0,0 +1,41 @@
+1
# sigil-yaml
+2
+3
YAML 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
+15
+16
## Usage
+17
+18
```scheme
+19
(import (sigil yaml))
+20
+21
;; Parse a YAML string
+22
(define data (yaml-read "name: sigil\nversion: 0.7.0"))
+23
+24
;; Serialize to YAML
+25
(define output (yaml-write data))
+26
```
+27
+28
## Dependencies
+29
+30
- sigil-stdlib
+31
+32
## Development
+33
+34
```bash
+35
sigil build --redirects dev-redirects.sgl
+36
sigil test --redirects dev-redirects.sgl
+37
```
+38
+39
## License
+40
+41
BSD-3-Clause