X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FYVQwDaVR2TSk2HtTL7Bm3+2QACT8BsO80qMbZCNw+4=; b=m1SiD2fCfX40xgFCk2wD1E4wWbanOVebkIKZhOEKqRJRLKUCyg6LVm+vC9PXgiDJ2v 7hestDmTnsC6fwJC66+iZlHz8930PGMJelgNXTmd4Nj/HonW7OkmYaOXgPalEpKEsFYy qagf9Nnvt/TybKf9NS0uIFJlhrpUycor0KJhQFmgWwp3lH7FyRUL/RKR9DI7mt6cMiHh JYety+yCh4XB6MpOZZPgFGQuLc6945+PlJWXU+nCQYYGXqScdWHJNHXiEpR4O4+WT/3U zryy5k3Q6Sa+He0OOqon/PHxoTu1r28br75gSWLB3kV0LcwurG+2/Z5JDZUNEq0wF02Y S88Q== MIME-Version: 1.0 X-Received: by 10.194.89.5 with SMTP id bk5mr37114482wjb.144.1441141098758; Tue, 01 Sep 2015 13:58:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2015 12:58:18 -0800 Message-ID: Subject: Re: [geda-user] full perl parser for pcb files? From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, Sep 1, 2015 at 4:58 AM, Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > On Mon, Aug 31, 2015 at 10:50 PM, Britton Kerin > (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] > wrote: >> Does anyone have one? So far I've just parsed select bits as needed >> >> Britton > > This is the sort of thing that is best done in pcb-rnd via the > scripting interface. I mean why create a parsing engine in perl when > you have a perl interface there to pcb and it's parsing system it > self? I'm not ready to abandon main-line. I'm going to wait and see how it goes. Most of what I want to do could be done easily batch-mode with maybe a quick hack to pcb to make it just reload changed pcb file without asking for the finer-grained stuff. I use the embedded perl interpreter in vim but only when I really need interactive behavior, and I'm not gonna pretend its easier that writing a stand-alone script. Britton