Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!intercon!amanda@intercon.uu.net From: amanda@intercon.uu.net (Amanda Walker) Newsgroups: comp.lang.postscript Subject: Re: Interesting Bug Message-ID: <1365@intercon.UUCP> Date: 15 Aug 89 15:20:40 GMT References: <2106@optilink.UUCP> Sender: news@intercon.UUCP Reply-To: amanda@intercon.uu.net (Amanda Walker) Organization: InterCon Systems Corporation Lines: 21 In article <2106@optilink.UUCP>, cramer@optilink.UUCP (Clayton Cramer) writes: > It appears that > PostScript doesn't recognize that it's in an infinite recursive > definition here, and everything shuts down. I think this one counts as "pilot error" and not necessarily a bug in PostScript... To solve this problem in a general fashion, Adobe would have to solve the Halting Problem, which would definitely be a good trick :-). Bounds checking on the interpreter's internal return stack would be a good idea, though. -- Amanda Walker InterCon Systems Corporation amanda@intercon.uu.net | ...!uunet!intercon!amanda "It can hardly be a coincidence that no language on earth has ever produced the expression 'As pretty as an airport.'" --Douglas Adams