delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/29/11:24:00

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 <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
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
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019