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.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community. All cultures welcome. Hate speech and harassment strictly forbidden.
Another design.