Article View: comp.std.c
Article #40Re: Curious about limits
From: Kevin Rodgers
Date: Fri, 30 Oct 1992 16:05
Date: Fri, 30 Oct 1992 16:05
24 lines
1743 bytes
1743 bytes
In article <lf0nn6INNp2m@exodus.Eng.Sun.COM> linden@positive.Eng.Sun.COM (Peter van der Linden) writes: >What was the reasoning behind the ANSI C standard specifying lower >limits on the sizes of programs that must successfully translate? > >For example, a conforming compiler must allow at least 8 levels of nested >#include files, or "at least 12 pointer, array, and function declarators >(in any combination) modifying a ... type in a declaration." > >Compiler limits are usually a "quality of implementation" issue; why >write them into the standard? I don't know any other language standard >that specifies at this level. Common Lisp specifies minimum values for the number of parameters that may appear in a lambda-list (50), the number of arguments that may be passed to a function (at least the lambda parameters minimum), and the number of values that may be returned from a function (20). These values are available to the user at run-time via the constants lambda-parameters-limit, call-arguments-limit, and multiple-values- limit. -- Kevin Rodgers kevin@traffic.den.mmc.com Martin Marietta MS A16401 (303) 790-3971 116 Inverness Dr. East Englewood CO 80112 USA GO BUFFS!
Technical Details
Message-ID:
<1992Oct30.160556.24511@den.mmc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!rochester!galileo.cc.rochester.edu!ub!csn!news.den.mmc.com!traffic!kevinReferences:
<lf0nn6INNp2m@exodus.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!rochester!galileo.cc.rochester.edu!ub!csn!news.den.mmc.com!traffic!kevin From: kevin@traffic.den.mmc.com (Kevin Rodgers) Newsgroups: comp.std.c Subject: Re: Curious about limits Message-ID: <1992Oct30.160556.24511@den.mmc.com> Date: 30 Oct 92 16:05:56 GMT References: <lf0nn6INNp2m@exodus.Eng.Sun.COM> Sender: news@den.mmc.com (News) Organization: Martin Marietta Western Internal Systems, Technical Operations Lines: 24 Nntp-Posting-Host: traffic.den.mmc.com