immolate
This commit is contained in:
@@ -13,7 +13,8 @@ You’re not alone: I also wish the code were documented.
|
||||
`cfg` has no comments, but let’s pretend we had `#` comments.
|
||||
|
||||
```
|
||||
# lists start with a name, then an indent, and then a value
|
||||
# lists start with a name, then an indent, then a hyphen,
|
||||
# and then a value
|
||||
my_list
|
||||
-"value"
|
||||
-12
|
||||
@@ -30,7 +31,8 @@ my_section
|
||||
my_second_numer 23.0
|
||||
```
|
||||
|
||||
Keys cannot contain spaces. This is all.
|
||||
Keys cannot contain spaces. Indents are always two spaces. There is no space
|
||||
between the hyphen and the value and an array. This is all.
|
||||
|
||||
It is a simple format, some might think it is too simple. It is, however,
|
||||
possible, to write a simple, fast implementation in a few hundred lines of C
|
||||
|
Reference in New Issue
Block a user