Re: Detecting endless recursion?

vbdis@aol.com (VBDis)
16 Jan 2004 23:03:42 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: Detecting endless recursion? jgd@cix.co.uk (2004-01-16)
Re: Detecting endless recursion? derkgwen@HotPOP.com (Derk Gwen) (2004-01-16)
Re: Detecting endless recursion? torbenm@diku.dk (2004-01-16)
Re: Detecting endless recursion? witness@t-online.de (Uli Kusterer) (2004-01-16)
Re: Detecting endless recursion? witness@t-online.de (Uli Kusterer) (2004-01-16)
Re: Detecting endless recursion? Martin.Ward@durham.ac.uk (Martin Ward) (2004-01-16)
Re: Detecting endless recursion? vbdis@aol.com (2004-01-16)
Re: Detecting endless recursion? joachim.durchholz@web.de (Joachim Durchholz) (2004-01-18)
Re: Detecting endless recursion? nmm1@cus.cam.ac.uk (2004-01-22)
Re: Detecting endless recursion? lex@cc.gatech.edu (Lex Spoon) (2004-01-22)
Re: Detecting endless recursion? torbenm@diku.dk (2004-01-31)
Re: Detecting endless recursion? witness@t-online.de (Uli Kusterer) (2004-01-31)
Re: Detecting endless recursion? witness@t-online.de (Uli Kusterer) (2004-02-01)
[16 later articles]
| List of all articles for this month |
From: vbdis@aol.com (VBDis)
Newsgroups: comp.compilers
Date: 16 Jan 2004 23:03:42 -0500
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
References: 04-01-070
Keywords: debug
Posted-Date: 16 Jan 2004 23:03:42 EST

  Fergus Henderson <fjh@cs.mu.oz.au> schreibt:


>It depends a lot on your programming style. 100 nesting levels is too
>small for some programs. If you do have a fixed limit, make sure that
>it can be increased without recompiling the program (e.g. allow the
>user to set the limit from an environment variable or command-line
>option).


IMO it's preferrable to have the appropriate value in an configuration
file. For an interpreter a (pseudo) statement can be added to the
language, allowing to set the stack limit for every single program as
required.


DoDi


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.