Home » Developing U++ » UppHub » YAML plugin for U++ (A complete yaml parser for U++)
| YAML plugin for U++ [message #62046] |
Fri, 28 August 2026 09:16 |
Oblivion
Messages: 1284 Registered: August 2007
|
Senior Contributor |
|
|
Hi,
I added a YAML plugin to UppHub.
It is a single Function that returns a Upp::Value.
From the README:
# Yaml
A YAML 1.2 parser for the U++, based on libyaml.
## Features
* **Static linking:** The libyaml source is embedded in the package, no external libraries are required.
* **YAML 1.2 support:** Resolves anchors and aliases at the graph level, expanding them into the resulting Value tree.
* **Type deduction:** Converts scalars into native U++ types (int, double, bool, String, and Null).
* **Error handling:** Returns U++ ErrorValue on syntax or structural errors.
## Examples
| **Name** | **Description** |
|:-----------------|:---------------------------------------------------------------------------------|
| `BasicExample` | Demonstrates the basic usage of YAML plugin |
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
TerminalCtrl package https://github.com/ismail-yilmaz/Terminal
[Updated on: Fri, 28 August 2026 09:18] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Tue Oct 06 11:00:41 GMT+2 2026
Total time taken to generate the page: 0.01458 seconds
|