X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox To: geda-user AT delorie DOT com, Markus Hitter Subject: [geda-user] Re: Objects of objects In-reply-to: <5092DFB5.9070907@jump-ing.de> References: <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 AT noqsi DOT com> <508EE43F DOT 5050505 AT neurotica DOT com> <9B14233C-F3A7-489C-BDC7-F6EAAAFCAB51 AT noqsi DOT com> <8835FFD4-C2F8-4EBF-BA06-2EFD38B47865 AT noqsi DOT com> <20121101124136 DOT 247F28117B6F AT turkos DOT aspodata DOT se> <20121101143159 DOT 3AF688130EC0 AT turkos DOT aspodata DOT se> <5092DFB 5 DOT 9070907 AT jump-ing DOT de> Comments: In-reply-to Markus Hitter message dated "Thu, 01 Nov 2012 21:46:45 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20121101213405.35D3A8130ECB@turkos.aspodata.se> Date: Thu, 1 Nov 2012 22:34:05 +0100 (CET) From: karl AT aspodata DOT se (Karl Hammar) X-Virus-Scanned: ClamAV using ClamSMTP 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 Markus Hitter: > Am 01.11.2012 15:31, schrieb Karl Hammar: > > Kai-Martin Knaak: > >> The break condition would need to be implemented. Until it is, you'd be > >> stuck in an endless loop. > > > > There is always the hw limit. If people wants endless loops let them > > have it. You cannot outlaw stupidity, but forbiddning useful things > > because of stupidity is not nice to the nice guys. > > Please don't forget those being reasonably intelligent, still building a > recursion accidentally. Grinding the user's whole system to a halt with > exhaused memory due to a typo won't make you and gEDA friends. > > IMHO, there should be at least an recursion counter, like max. 100 > recursions. Fine with me. > Still I can't see how "real" recursions can work. Real recursions would > require to change the recursed item somehow and testing this change to > reach a limit. So, the recursion should break as soon as the same > symbol/schematics is detected a second time in the recursion loop. I don't think "real" recursion in the sense that a symbol loads itself recuresivly would have any value, but who knows. I'm more interested in being able to make a subcircuit from symbols, and the subcircuit can be assembled into new subcircuits and so on. We can do so in a way today but loading symbols from symbols is not officially supported and it would also be useful to pass along some parameters to the subcircuit. Some simple examples: . one could have a led and resistor, and given the applied voltage to the subcircuit it would calc it's resistor value, . a low pass filter circuit with cutoff freq. as a parameter Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57