No body talks about SDLang (Simple Declarative Language) : https://sdlang.org/
An example :
```
// This is a node with a single string value
title "Hello, World"
// Multiple values are supported, too
bookmarks 12 15 188 1234
// Nodes can have attributes
author "Peter Parker" email="peter@example.org" active=true
// Nodes can be arbitrarily nested
contents {
section "First section" {
paragraph "This is the first paragraph"
paragraph "This is the second paragraph"
}
}
// Anonymous nodes are supported
"This text is the value of an anonymous node!"
// This makes things like matrix definitions very convenient
matrix {
1 0 0
0 1 0
0 0 1
}
This is like XML attributes, which I've always found annoying to deal with in programs. It doesn't really map to any native data structure in most (all?) programming languages, so you need a special class/struct which supports it.
Simply using something that maps directly to a hash map/object/associative array would be much better, IMHO.
Other than that, it looks like an interesting project.
Actually it is even a superset of XML, from the docs...
SDL documents are made up of Tags. A Tag contains
* a name (if not present, the name "content" is used)
* a namespace (optional)
* 0 or more values (optional)
* 0 or more attributes (optional)
* 0 or more children (optional)
So it's like an XML node, but the `0 or more values` means it has a list/array for a "body".
An example :
```
```