expand a bit on what got removed from SDLang

This commit is contained in:
Kat Marchán 2020-12-10 20:00:32 -08:00
parent 4e90b31899
commit 07e04582c8
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 26 additions and 0 deletions

View File

@ -27,6 +27,20 @@ contents {
paragraph "This is the second paragraph"
}
}
// Nodes can be separated into multiple lines
title \
"Some title"
// Comment formats:
// C++ style
/*
C style multiline
*/
tag /*foo=true*/ bar=false
```
But kdl changes a few details:
@ -65,6 +79,18 @@ my-octal 0o755
my-binary 0b10101101
```
The following SDLang features are removed altogether:
* "Anonymous" nodes
* Binary data literals
* Date/time formats
* `on` and `off` booleans
* Backtick strings
* Semicolons
* Namespaces with `:`
* Shell style (`#`) and Lua-style (`--`) comments
* Distinction between 32/64/128-bit numbers. There's just integers and floats.
## Design and Discussion
kdl is still extremely new, and discussion about the format should happen over