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

Re: gEDA-user: Driving the netlist from PCB (instead of gschem)



On Tue, 2008-09-30 at 19:06 +0200, Bernd Jendrissek wrote:
> On Tue, Sep 30, 2008 at 7:01 PM, Peter Clifton <pcjc2@xxxxxxxxx> wrote:

> IMHO, writing from scratch a lexer/parser that parses a subset of XML
> is worse than just re-using an already available, externally
> maintained (by *other* time-limited volunteers) library that happens
> to support much much more of XML, such as expat or libxml.  Just
> because libxml might have support for XPath and friends doesn't mean
> gEDA MUST use it.

That is of course, perfectly true.

Of course.. we wouldn't need an XML library at all to _emit_ compliant
XML (for an exporter, for example). That task is very simple to do with
printf.

(And also allows us to add more structure to the whitespace to benefit
other simple parsers like sed / awk scripts).


Best wishes,

Peter*

(* who must really not get too tied up in this thread - since he's not 
   likely to be implementing any of this work ;))

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



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