X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: [geda-user] C/C++ parsing library for PCB file format? From: Stefan Salewski To: geda-user AT delorie DOT com Content-Type: text/plain; charset="us-ascii" Date: Tue, 29 Jan 2013 17:23:44 +0100 Message-ID: <1359476624.4235.9.camel@AMD64X2> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com I wonder if we have something like a parsing library for the PCB file format available? I guess not, and parsing PCB files with Ruby's great pattern matching capacities should be not difficult. But one disadvantage of direct file parsing is of course, that each file format change may break the parser. Indeed I guess that direct parsing is easier than understanding a parsing library, writing the Ruby glue to that one, and than discovering that the library does not expose all necessary information. Best wishes, Stefan Salewski