diff --git a/README.md b/README.md index 85e7116..3234142 100644 --- a/README.md +++ b/README.md @@ -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