On May 6, 2010, at 10:48 AM, John Doty wrote: > > On May 6, 2010, at 11:38 AM, John Doty wrote: > >> On May 6, 2010, at 11:26 AM, Edward Hennessy wrote: >> >>> I didn't know of another way to implement this function. GParts is looking >>> for where gEDA is installed in order to read gEDA's configuration files. I'm >>> not aware of another mechanism to locate where gEDA is installed. >>> Suggestions >>> are welcome. >> >> http://www.seul.org/pipermail/geda-user/2009-December/022135.html >> >> If you need more, ask. I think it's all accessible to Guile scripts. > > I would also note that you probably don't want to attempt to read the > configuration files directly, as they are actually Guile programs dependent > on definitions in libgeda. You'll need something like the flatten-gafrc > script in the message above to interpret the files and yield up the data you > want.
GParts reads the scheme configuration files using an embedded Guile interpreter. In keeping with tradition, GParts configuration files are also in scheme. Cheers, Ed _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user