KenKundert / nestedtext

Human readable and writable data interchange format
https://nestedtext.org
MIT License
362 stars 13 forks source link

Reference needs specifics about "white space" #38

Closed yoonsikp closed 2 years ago

yoonsikp commented 2 years ago

"White space" is a bit vague. I've simply reflected your Python implementation here.

However, I would recommend changing whitespace in Inline strings to just ASCII spaces for consistency sake.

Also, implementation in different languages might be much easier if you just stuck to ASCII spaces everywhere, stripping unicode whitespace should be the job of the higher level program, not the file format.

This isn't meant to be a final PR, just getting this formalization of whitespace started.

Also this fixes the definition of inline structure tag: (If the first non-ASCII-space )

KenKundert commented 2 years ago

This seems like a good change, but I'll need a little time before I can be ready to make this change.

KenKundert commented 2 years ago

Thanks!