delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |