| Store | Cart

XML overuse? (was Re: Python to XML to Python conversion)

From: Huaiyu Zhu <hua...@gauss.almadan.ibm.com>
Thu, 18 Jul 2002 18:36:52 +0000 (UTC)
Clark C . Evans <cce at clarkevans.com> wrote:
>On Tue, Jul 16, 2002 at 10:14:51PM +0000, Huaiyu Zhu wrote:>>| There are facilities for conversion among the data structures: set, seq,>| dict, seqdict, with various specifications.  I do not see how yaml indicates>| the types of structures.>>YAML does this with the bang (!) you can see this in the preview>for type family (http://yaml.org/spec/#preview-family) and also>in the transfer method section (http://yaml.org/spec/#syntax-trans)

It appears that the bang is used to indicate any types.  I found it better
to separate structural types (seq, dict, ...) from terminal types (str, int,
date and time, ...).  The former is finite in number and predefined (at any
moment in time, at least), and necessary for all the navigation tools that
traverse the data structure.  The latter is numerous, application dependent,
and should be considered as blackboxes by the generic tools.

I'd suggest grouping all the structural types together in one section and
describe their semantical relations.  Also group all the terminal types
together in one section and indicate that they are only first examples for
endless possibilities.

All in all I find YAML quite impressive.  Congrats on an excellent job in
documenting and promoting it, unlike me, who let things fizzle and rot.

Huaiyu

Recent Messages in this Thread
Mark Jul 12, 2002 12:08 am
Harry George Jul 12, 2002 12:01 am
theh...@binary.net Jul 12, 2002 01:22 am
Jeremy Bowers Jul 12, 2002 03:01 am
Peter Hansen Jul 12, 2002 03:41 am
Oren Tirosh Jul 12, 2002 05:54 am
Erik Max Francis Jul 12, 2002 08:16 am
Tim Rowe Jul 12, 2002 04:37 pm
François Pinard Jul 12, 2002 02:49 pm
Peter Hansen Jul 12, 2002 04:08 pm
Jeremy Bowers Jul 12, 2002 02:52 pm
Huaiyu Zhu Jul 12, 2002 05:45 pm
holger krekel Jul 13, 2002 02:55 pm
Huaiyu Zhu Jul 15, 2002 06:04 pm
holger krekel Jul 16, 2002 01:18 pm
Clark C . Evans Jul 16, 2002 06:27 pm
Steve Howell Jul 16, 2002 06:31 pm
Huaiyu Zhu Jul 16, 2002 10:14 pm
Clark C . Evans Jul 17, 2002 01:30 am
James Kew Jul 17, 2002 10:52 pm
François Pinard Jul 18, 2002 11:11 am
Huaiyu Zhu Jul 18, 2002 06:10 pm
Huaiyu Zhu Jul 18, 2002 06:36 pm
Matt Gerrans Jul 12, 2002 07:03 am
Jonathan Hogg Jul 12, 2002 08:07 am
Clark C . Evans Jul 13, 2002 12:29 am
Alex Martelli Jul 12, 2002 08:01 am
Jeremy Bowers Jul 12, 2002 02:55 pm
Jeremy Bowers Jul 12, 2002 03:53 pm
Terry Reedy Jul 12, 2002 02:03 am
David Mertz, Ph.D. Jul 15, 2002 02:49 pm
Alex Martelli Jul 12, 2002 02:03 pm
Jonathan Hogg Jul 12, 2002 03:11 pm
Cameron Laird Jul 12, 2002 01:35 pm
Cameron Laird Jul 12, 2002 01:27 pm
Alex Martelli Jul 12, 2002 08:37 am
Doru-Catalin Togea Jul 12, 2002 09:43 am
Jonathan Hogg Jul 12, 2002 01:44 pm
François Pinard Jul 12, 2002 02:37 pm
Mike C. Fletcher Jul 12, 2002 04:56 pm
Jeremy Bowers Jul 12, 2002 03:00 pm
Tim Rowe Jul 12, 2002 04:37 pm
Messages in this thread