kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03605
Re: New library file format
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"emmedics4" <marco.serantoni@...>
-
Date:
Wed, 11 Nov 2009 11:27:40 -0000
-
In-reply-to:
<4AF78118.1010405@...>
-
User-agent:
eGroups-EW/0.82
--- In kicad-devel@xxxxxxxxxxxxxxx, Wayne Stambaugh <stambaughw@...> wrote:
> >
> > Thank you Wayne, the documents are lied in kicad-doc directory. I also prefer text. Some folks here think that it would be good if the file is more readable by human. I would like to propose a new file format based on an existing tool such as JSON (wxJSON, http://wxcode.sourceforge.net/docs/wxjson/). I think this will make the file more readable, flexible and extensible.
> I agree that the current library and schematic file formats are not very
> human readable. I believe they are legacy file formats that have been
> with the project for some time. I am not familiar with JSON so I cannot
> comment on how effective it would be. One thing I think it should
> support is wxInputStream and wxOutputStream ( or C++ library istream and
> ostream ). This way you only have to write one parser and one output
> format to support streams from any of the derived input and output
> stream classes. If you us wxInputStream to write you parser, you get
> socket, file, zip, and tar input streams for very little extra effort.
> With all of the new library discussions, I could see where any one of
> the derived input and/or output streams would be useful.
I agree STRONGLY on the need of wxInputStream/wxOutputStream support and should for me be the first step to do before think to change format library.
--
Marco
Follow ups
References