X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] gEDA/gschem still alive? From: John Doty In-Reply-To: Date: Wed, 8 Jul 2015 10:27:17 -0600 Message-Id: References: <20150703030409 DOT 32398 DOT qmail AT stuge DOT se> <1436006726 DOT 677 DOT 13 DOT camel AT ssalewski DOT de> <20150706200609 DOT GD24178 AT localhost DOT localdomain> <20150707060409 DOT GB14357 AT localhost DOT localdomain> <1436287952 DOT 678 DOT 26 DOT camel AT ssalewski DOT de> <559C0F7E DOT 7010009 AT neurotica DOT com> <20150707183339 DOT GA1817 AT alpha2> <559C3667 DOT 7030402 AT neurotica DOT com> <1436305751 DOT 678 DOT 145 DOT camel AT ssalewski DOT de> <6F56FB28-1576-4B94-B7C4-B455B5C0A4CF AT noqsi DOT com> <559C5898 DOT 60809 AT neurotica DOT com> <5C62B02C-5B35-4F95-8504-3A1C043FD469 AT noqsi DOT com> <559C8273 DOT 7070107 AT neurotica DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t68GRPAf009706 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 Jul 8, 2015, at 7:57 AM, gedau AT igor2 DOT repo DOT hu wrote: > If is sit down to hack gnetlist and I instantly bump into scheme and then I struggle getting the simplest things done... If a "copy an exsiting backend and modify the text format it prints" kind of should-be-20-minutes job spans accross a weekend... You can blame me, but I did not have fun at all. > > Probably it's not scheme's fault. Maybe I'm jut not intelligent enough to enjoy scheme. Not your fault. Many of the gnetlist back ends are not well written (but they’re still useful!). Processing flat lists recursively is very clumsy. Once I realized this was the problem, I found it easy to write simple gnetlist back ends in a straightforward, compact way (see gnet-osmond.scm). A SPICE back end is much more complicated, but that reflects the chaotic nature of SPICE. A different netlister language wouldn’t help. At least Scheme makes breaking the problem down into subproblems easy and clean. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com