Wanted: SIMH VAX VMS tape image tester, take 2
jkunz at unixag-kl.fh-kl.de
Sat Dec 20 03:10:47 CST 2014
Am 19.12.14 20:37, schrieb Chuck Guzis:
> A human-readable ultra lightweight markup language is my choice.
This requirement sounds pretty much like a call for JSON. Simple,
extensible, easy to read and write for humans and machines.
> JSON does require a parser of some sort, so perhaps not a good choice.
Anything requires a parser of some sort. Even something "simple" as a
"keyword=value" format will require a parser. If you roll your own
format you are doomed to reinvent the parser wheel. If you use JSON you
can use one of the various JSON implementations out there. (For C I
recommend Jansson and for C++ jsoncpp.)
Chuck, I have been in this hell at work. We didn't settle for a well
defined format early. We reinvented the wheel. This led to all sorts of
inconsistencies and ambiguities. At the moment we are in the painful
process of refactoring everything to migrate to JSON...
Also keep in mind that JSON is a well defined standard, ECMA-404, and
many people already know JSON.
More information about the cctalk