AtlatestRenderedmarkdown
sigil-yaml / treeREADME.md
Readme
sigil-yaml
YAML parsing and serialization library for Sigil.
Features
- Full YAML 1.2 core schema support (null, bool, int, float, string)
- Block and flow collections (mappings and sequences)
- Block scalars (literal and folded with chomping indicators)
- Anchors and aliases
- Multi-document support
- Comments
- YAML encoding/serialization (block and flow styles)
- Round-trip fidelity for supported types
Usage
(import (sigil yaml))
;; Parse a YAML string
(define data (yaml-read "name: sigil\nversion: 0.7.0"))
;; Serialize to YAML
(define output (yaml-write data))Dependencies
- sigil-stdlib
Build
sigil deps install
sigil build
sigil testLicense
BSD-3-Clause