The answer to your question. "From what I can say, it looks like it defines a single syntax for things that can have completely different semantics." Having a uniform syntax solves part of the problem for things that have significantly different semantics, and this is not a trivial problem in the least.
Similarly, text encoding is used in markup (including XML), computer programs, writing human-readable documents, and many other tasks with significantly different semantics. Would you like to invent Unicode every time? Could you even know enough about all the problems to be able to do this (or even the ability to reinvent the passable ASCII?), ASCII seems just simple these days because many of the complex functions of its control codes are no longer used, using the old ASCII schools are often much more complicated than Unicode).
Numbers are used throughout computing, and we still have four different internal syntaxes (two entity styles, two padding styles), although data is usually hidden these days.
Like the execution of one part of the work of the creator of the format for them, and the demonstration of one piece of work for the manufacturer or consumer is the one with which they are already familiar (and, therefore, may already have tools for), it completely eliminates one piece of work for the manufacturer - a consumer who reads in one format and writes in another.
Jon hanna
source share