Dear all,

Just a quick question, following from an idea which seemed good as it
emerged in the shower...

How about:

Adding a special attribute to be used in symbols which means "go read
this scheme code". (Or alternatively, "here is some scheme code").

I believe this will be handy for allowing custom attribute helpers for
different classes of symbol, without having to add everything in scheme
files shipped with gschem.

For example, a resistor symbol might include "resistor.scm" (which is
then found somewhere in a particular search path), and this scheme code
could provide the helper functions for filling in the attributes.

I expect that the effects of the scheme code would have to be local to
that symbol, unless we like strange things happening when we insert
symbols.

Alternatively - you might see this as useful, adding in a gnucap
directive symbol might set a variable which allows the various helper
functions to show more simulation specific options.

We'd obviously need to make that setting go away again if you removed
the gnucap directive.

Anyway - feedback on the idea is welcome - you'll notice there are a
couple of holes I've not yet plugged with implementation details.

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to