home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!linac!att!ucbvax!ROO.FIT.EDU!SAHARBAUGH
- From: SAHARBAUGH@ROO.FIT.EDU
- Newsgroups: comp.lang.ada
- Subject: Only 20K expressions, I'm shocked!
- Message-ID: <9208280220.AA24277@ajpo.sei.cmu.edu>
- Date: 28 Aug 92 02:16:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 34
-
- James Vera writes:
- >The problem is not the case statement, per se. Instead the problem is
- >that Verdix has a hard limit on the number of expressions which can
- >occur in a subprogram. The limit is something like 20,000
- >expressions.
-
- >To get around this bug, you need to break the offending subprogram
- >into multiple subprograms. This, of course, is a pain in the but when
- >the subprogram is generated automagicly but gee, you don't expect >your
- >Ada compiler to compile valid Ada code, do you?
-
- Is this a typo? 20K expressions must be about
- 5 boxes of cards (2000 per box as I remember). Does
- your computer center allow you to submit jobs
- that big? You know the chances of the operator
- dropping some of those or mixing them up is very
- high. Here's a helpful hint: Various color
- cards are useful for partitioning the subprogram.
- I used to use yellow for data, red for code
- and green for system statements, except that the
- job card was plain, with the school logo on it.
- I then took marker pen and marked the edges with
- the name of program segments in large letters.
- Of course that was the early 60's. A fellow
- student also carried big decks of cards around
- and mumbled something about modularity. His
- name was Dave Parnas but neither he nor I
- was ever able to achieve a 10K card subprogram,
- Wow! I bet that our old 20 GATE or IPL V
- compilers wouldn't have handled that either.
- I therefore conclude that very little progress
- has been made on the compiler front since 1964.
- sam harbaugh
- --- p.s. I have really enjoyed writing this.
-