delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/11/01/17:34:33

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 <mah AT jump-ing DOT de>
Subject: [geda-user] Re: Objects of objects
In-reply-to: <5092DFB5.9070907@jump-ing.de>
References: <CANqhZFxYH+Y5U1ai7ey-s+4nz6eYDM2vx3aMDb7WuigNXmi4AQ AT mail DOT gmail DOT com> <2CB304B5-9587-4734-84E4-49F464744D11 AT noqsi DOT com> <CANqhZFwPNG4R1dR2X0HB+tP1JzNXUAVg55gy54Lry5E49aAQ6Q AT mail DOT gmail DOT com> <E9D200C7-475C-4CC7-A592-5A6C14B3EA25 AT noqsi DOT com> <6BF2E986-51EB-41E9-A4AD-8071CD00B1A1 AT jump-ing DOT de> <834283D4-0891-486E-A981-2FF20B32C615 AT noqsi DOT com> <C3C35AF4-24D1-4977-9134-2C0B13473D01 AT jump-ing DOT de> <54CAA7EE-7638-4B89-8197-111D0493F859 AT noqsi DOT com> <D59D8F6D-0436-4A8D-AFC0-5124BD3031D6 AT jump-ing DOT de> <508CE947 DOT 4050408 AT xs4all DOT nl> <665E18E2-E9F9-40E4-9DE1-CC8FDBBDCB00 AT noqsi DOT com> <CAC4O8c8Q_MSCg6af5Ro13KefdTkMFeEWXyQLrMWZsTw+yJLA6g AT mail DOT gmail DOT com> <EF4E82A7-A7C2-4FD9-B7C4-0EF7AEC54DA9 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> <k6sebj$7q7$1 AT ger DOT gmane DOT org> <20121101124136 DOT 247F28117B6F AT turkos DOT aspodata DOT se> <k6tvl2$ra5$1 AT ger DOT gmane DOT org> <20121101143159 DOT 3AF688130EC0 AT turkos DOT aspodata DOT se> <5092DFB
5 DOT 9070907 AT jump-ing DOT de>
Comments: In-reply-to Markus Hitter <mah AT jump-ing DOT de>
message dated "Thu, 01 Nov 2012 21:46:45 +0100."
Mime-Version: 1.0
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019