mirror of https://github.com/kdl-org/kdl.git
expand a bit on what got removed from SDLang
This commit is contained in:
parent
4e90b31899
commit
07e04582c8
26
README.md
26
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue