https://github.com/gregkrsak/yaml_butter
Header-only YAML parser for C++23. Supports block/flow mappings & sequences, anchors/aliases, merge keys, multi-line scalars, and type tags. No dependencies, just include and parse YAML files or strings!
https://github.com/gregkrsak/yaml_butter
cplusplus cplusplus-23 cpp cpp23 cpp23-library yaml
Last synced: 15 days ago
JSON representation
Header-only YAML parser for C++23. Supports block/flow mappings & sequences, anchors/aliases, merge keys, multi-line scalars, and type tags. No dependencies, just include and parse YAML files or strings!
- Host: GitHub
- URL: https://github.com/gregkrsak/yaml_butter
- Owner: gregkrsak
- Created: 2025-07-30T20:26:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T15:38:36.000Z (10 months ago)
- Last Synced: 2025-10-11T09:04:04.183Z (8 months ago)
- Topics: cplusplus, cplusplus-23, cpp, cpp23, cpp23-library, yaml
- Language: C++
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
| Feature | Status | Comment | |
| -------------------------------- | ----------- | ----------------------- | - |
| Block-style map/seq | ✔ Supported | | |
| Flow-style map/seq | ✔ Supported | `{}`, `[]` | |
| Scalar typing (null, bool, num) | ✔ Supported | | |
| Multi-line literal/folded scalar | ✔ Supported | | |
| Anchors, aliases, merge | ✔ Supported | | |
| Tags (`!!str`, `!custom`) | ✔ Supported | | |
| Quoted string escapes | ❌ Missing | | |
| Inline comments | ❌ Missing | | |
| Directives/doc markers | ❌ Missing | `---`, `...` | |
| Number formats/underscores | ❌ Missing | `1_000`, `0xFF`, `.nan` | |
| Block scalar chomping (`\|+`\, `>-`) | ❌ Missing | |
| Multi-document stream | ❌ Missing | | |
| Anchor/alias cycle detection | ❌ Missing | | |
| Unicode escapes | ❌ Missing | | |