[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Some footprints I tried to create



On Wed, Mar 14, 2007 at 02:26:02PM -0400, Ryan Seal wrote:

> Sounds like a job for XML :-) .  Really, I don't see the big deal. If 
> you would like am XML format, write a parser that will take the current 
> format and generate XML to and from that. This could be located in the 
> File->Export / File->Import menu (or something like that). Now you get 
> your XML and others can keep what they currently use.

If you are doing the work yourself, just save yourself some effort and
use s-expressions.  I'm not alone in this either.  You can find them
used in RFC1176 and RFC2693.  Parsers for it exist in every language.
It is easier to write your own parser for, should you be so inclined.  

S-expressions are more succinct.  While well craft XML can possibly be
easier to read by humans, there are extremely few examples where that
ends up being the case, and S-expressions can be done in a more verbose
manner for extra readability.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user