Felix: > On Sat, Mar 26, 2022 at 09:33:50PM +0100, [email protected] wrote: > > Maybe it is sufficient to parse the .sch files > > No. The connections are implicit, so the Symbols are necessary. This is > the major problem with .sch files.
I did "just the parsing" thing in (perl) "sub parse_text($@)" in http://aspodata.se/git/openhw/bin/GedaSch.pm > > but does it also > > hanlde reading the config files that tells where the symbols are ? > > I have lines like > > (component-library-search "/Net/cvs/cvs.gedasymbols.org/www/user" "cvs/") > > (define home (getenv "HOME")) > > (source-library-search (build-path home "git/openhw/share/gschem")) > > in gafrc, does your code catch that also ? > > This is exactly what gnucap-geda uses libgeda for. I think it could be > easily replaced, but will also have to implement a substitute for the > gafrc settings. ... I did an ad hoc gafrc reader in "sub read_gafrc(@)" in: http://aspodata.se/git/openhw/bin/examine_sch.pl Regards, /Karl Hammar
