Mail Archives: geda-user/2012/10/31/23:32:43.1
John Doty wrote:
> On Oct 31, 2012, at 3:07 AM, Karl Hammar wrote:
For some reason, Karls post does not show in my reader...
>>> The idea that objects are composed of objects composed of objects,
>>> ... is missing.
>> ...
>>
>> This kind of recursion is missing from gschem also, or rather from
>> the sch/sym file formats.
You _can_ put symbols into symbols. You can even put schematics into
symbols. My library at geda-symbols.org contains a section which
contains some often needed modules as ready made "blocks". However,
gschem would always treat this as a single symbol. There is no way to
change its inner parts. To actually use these blocks, you have to add
them with the option "include as individual objects".
Real recursion would involve symbols that contain themselves. This can
only be meaningful if there is some kind of break condition. Infinite
recursion works only in pure mathematics... Can you give an example of
a use case where real recursion with a break condition would be
useful?
---<)kaimartin(>---
--
Kai-Martin Knaak
- Raw text -