From 32bf0c1272bb81e96092bd40617937349ec516ea Mon Sep 17 00:00:00 2001 From: hellerve Date: Fri, 20 Mar 2020 18:38:23 +0100 Subject: [PATCH] immolate --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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