[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Has anyone used SSOP28.fp?
Hi DJ and all,
First let's get this specified more in detail before this gets out of
hand.
What sort of content should the parser be agnostic of ?
Kind regards,
Bert Timmerman.
On Thu, 2007-06-07 at 16:06 -0400, DJ Delorie wrote:
> > Shouldn't the file format be forward compatible with a warning? if
> > an unknown parameter is introduced in the file format, pump out a
> > warning and continue?
>
> The problem is that pcb's file format is entirely defined by a yacc
> grammar. I.e. the grammar says "expect FOO or BAR or GRILL here" and
> if you give it any other token, you get a syntax error. A better file
> format would be something where the syntax is independent of the
> content, like what the menu resource uses, or (gak) XML. Then we
> could parse the whole file into a data structure (all at once or
> piecemeal), and interpret (or not) the data we get.
>
> Perhaps we could change the parser to be content-agnostic, though.
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user