I published a draft file format for data serialisation, and I'm already having second thoughts. Seems easy, then the edge cases come creeping in.
https://sr.ht/~torresjrjr/nest/
Another design.
The primary principle feature is the "pipe literal string" syntax, for direct embedding of plaintext.
Secondarily, each line represent one "thing", and each should be prefixed with an unambiguous signifier.
The rest is details to bicker over. But that is the main idea.
Another design, with "quoted and escaped string" syntax.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
The primary principle feature is the "pipe literal string" syntax, for direct embedding of plaintext.
Secondarily, each line represent one "thing", and each should be prefixed with an unambiguous signifier.
The rest is details to bicker over. But that is the main idea.