For Programmers: Free Programming Magazines  


Home > Archive > C > October 2005 > Re: Handling delimited strings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Handling delimited strings
michael@preece.net

2005-10-30, 9:56 pm


Steve O'Hara-Smith wrote:

>
> If that's the goal look into ASN1.
>


Isn't ANS1 mostly about encoding data *type* - along with the data?
That's a separate issue. I'm looking to handle nested delimited strings
of any, or no specified, type. The data type (required for conversion
to/from ASN1, say) of each delimited string, or group of strings, along
with any other metadata such as markup, can be described or defined in
an associated nested delimited string, or two, or three, or whatever.

Nested data is all around. Indented program code, newsgroups and the
threads within them, folders/directories, etc. etc.. It would be nice
to have a really simple way to represent and manipulate nested
structures up to 128 levels deep - much simpler than ASN1 and much more
compact than XML, and yet easily transformable into either, or any
other, format.

If you take any nested data in any format - XML is an obvious example -
it should be possible to represent it as a simple delimited string as I
described in my OP. It would be good, I reckon, if I (with a little
help) can come up with simple cross-platform tools to perform the
functions also described in my OP.

Cheers
Mike.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com