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.

sr.ht/~torresjrjr/nest/

Follow

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.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.