I don't think the default output of h5dump is really BNF... That said, for the aforementioned purposes of providing debugging output I think the default output format of h5dump is far more useful than XML. I presume JSON would also fall into the "less useful" category, though I didn't really know what it was until a minute ago.

I'm more interested in something that I can read, rather than something that a machine can read, and XML has so much additional overhead that I find it difficult to process visually. The current default output of h5dump is much better in that regard.

On 07/26/2012 01:28 PM, Gerd Heber wrote:
Would you be interested in XML or JSON snippets rather than clunky BNF?

G.

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of John K
Sent: Thursday, July 26, 2012 1:20 PM
To: HDF Users Discussion List
Subject: [Hdf-forum] request/suggestion re: high level libraries and
debugging

It occurs to me that the h5dump program does a lot of stuff that would be
really useful to have in library code.  As an example, I was running into a
problem today that I suspected was due to a type definition that was in use
incorrectly.  I was ultimately able to confirm my suspicion by reading code,
but during that search I thought it'd be really handy to have a function
that I could use to dump out the structure of the data type to some output
stream or other.

h5dump already does what I was interested in, but it's not library code and
would be difficult to integrate into my program to look at the definition of
a type that's only defined in memory.

Anyway, I thought it'd be super useful to have some of this code in h5dump
moved into a high level library for debugging (or other) purposes.


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to