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] Using Lua to safely read configuration and layout files (program attached) From: John Doty In-Reply-To: <54D7CC55.1090602@ecosensory.com> Date: Sun, 8 Feb 2015 17:52:55 -0700 Message-Id: References: <3709636 DOT NVszrDDjOR AT jasum> <20150208135925 DOT 6f6ddab6 AT Parasomnia DOT thuis DOT lan> <1897145 DOT BbSdS1MRWc AT jasum> <66DD3BF9-092C-4EFF-B12D-6214141C152D AT icloud DOT com> <52E0C8E3-2FD3-4D79-A01D-962E7EFA6D4F AT noqsi DOT com> <638942CE-E278-40ED-8C36-6A89C33FD158 AT noqsi DOT com> <54D7CC55 DOT 1090602 AT ecosensory 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 t190r3K9028135 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 Feb 8, 2015, at 1:51 PM, John Griessen wrote: > On 02/08/2015 12:54 PM, Svenn Are Bjerkem wrote: >> I can't help myself asking: Why isn't the gnetlist code exposing the needed information to the API? Too difficult to do, or too >> boring to get done? >> > > It must be the temperament of those that decide to spend time on the project. > > a. Too boring to do. > b. Requires too much slogging for too little braggable results. > c. Does not pay well. > d. It's a large enough task that some cooperation would be a great help, but it's hard to find any... > e. "Where to start?" *AND* "I don't like writing documentation." > > Just my guesses. > I think a lot of it is a result of doing it in two languages. Libgeda does the parsing in C, but the high level is Scheme. It’s connected by some fairly complex C code in gnetlist that gives the Scheme level specific views into the C data structures. Peter Brett told me he was working on an complete implementation in Scheme, but he apparently never finished. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com