comp.lang.ada
 help / color / mirror / Atom feed
From: cm@mihalis.demon.co.uk (Chris Morgan)
Subject: Re: Silliness (was: Looking for good Ada95 book)
Date: 1996/11/06
Date: 1996-11-06T00:00:00+00:00	[thread overview]
Message-ID: <m220e73vh7.fsf@mihalis.demon.co.uk> (raw)
In-Reply-To: dewar.846952540@merv


In article <55mcmd$63c@krusty.irvine.com> adam@irvine.com (Adam Beneschan) writes:

   On the other hand, Ada programmers tend to end all their statements
   with semicolons, which means they aren't really statements at all,
   since a semicolon implies that there's a second half of the sentence
   coming up; but that never seems to happen in Ada.  You can read a
   whole program and keep seeing semicolons, which means there's more to
   come, but then you hit the last semicolon and there's nothing more
   after it and you end up wondering, did the programmer intend to say
   something more and just forget?  So you're just left there hanging.
   Oh, well.  I suppose there are worse things; after all, ending a
   sentence with a semicolon isn't half as wishy-washy as ending one with
   an ellipsis . . .


But you are forgetting about the requirement to link the program. Various
units can be linked as the main program, and indeed multiple units can be
visible to the compiler each of which could be linked. Whilst there is some
uncertainty, they all naturally break off mid-sentence in case they are
merely library units to be linked with some other main unit.

So, you do a link and tell it to use, say, my_main_proc as the main
unit. The never-ending sentence you mention is terminated by this
nomination, so conceptually the linker puts a full stop (period for
Americans) in place of the last semicolon of this unit and then completes
the link with a nice well-formed program sentence.

Chris
-- 
Chris Morgan                   
http://www.mihalis.demon.co.uk/




  parent reply	other threads:[~1996-11-06  0:00 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-26  0:00 Looking for good Ada95 book Lars Lundgren
1996-10-28  0:00 ` Larry Kilgallen
1996-10-28  0:00 ` Rapicault Pascal
     [not found]   ` <01bbc5d8$a3b24e00$6a9148a6@cornerstone.mydomain.org>
1996-10-29  0:00     ` Robert Dewar
1996-10-30  0:00       ` Michael Feldman
1996-11-02  0:00         ` Robert Dewar
1996-11-03  0:00           ` Matthew Heaney
1996-11-03  0:00           ` Robert A Duff
1996-11-03  0:00             ` Robert Dewar
1996-11-04  0:00           ` Norman H. Cohen
1996-11-04  0:00             ` Jerry Petrey
1996-11-06  0:00               ` Richard A. O'Keefe
1996-11-09  0:00               ` Michael Feldman
1996-11-05  0:00             ` Silliness (was: Looking for good Ada95 book) Adam Beneschan
1996-11-06  0:00               ` Richard A. O'Keefe
1996-11-04  0:00           ` Looking for good Ada95 book Michael F Brenner
1996-11-04  0:00             ` Larry Kilgallen
1996-11-04  0:00               ` Robert Dewar
1996-11-09  0:00                 ` Michael Feldman
1996-11-11  0:00                   ` Richard A. O'Keefe
1996-11-12  0:00                     ` Mark Shaw
1996-11-06  0:00               ` James Thiele
1996-11-08  0:00                 ` Stephen Leake
1996-11-06  0:00             ` Robert A Duff
1996-11-06  0:00             ` Richard A. O'Keefe
1996-11-06  0:00               ` Robert Dewar
1996-11-06  0:00           ` Chris Morgan [this message]
1996-11-08  0:00           ` Silliness (was: Looking for good Ada95 book) bill.williams
1996-11-09  0:00             ` Michael Feldman
1996-11-09  0:00           ` Looking for good Ada95 book Michael Feldman
1996-11-10  0:00             ` Lars Farm
1996-11-10  0:00               ` Robert Dewar
1996-11-11  0:00                 ` Lars Farm
1996-11-12  0:00                   ` Robert Dewar
1996-11-12  0:00                     ` Lars Farm
1996-11-14  0:00                       ` Capitalization Entropy (was: Looking for good Ada95 book) Scott James
1996-11-14  0:00                         ` Robert A Duff
1996-11-18  0:00                   ` Looking for good Ada95 book Richard A. O'Keefe
1996-11-12  0:00                 ` Michael Feldman
1996-11-17  0:00                   ` Robert Dewar
1996-11-18  0:00                     ` Richard Pattis
1996-11-19  0:00                       ` Do-While Jones
1996-11-20  0:00                       ` John English
1996-11-20  0:00                         ` Larry Kilgallen
1996-11-21  0:00                       ` FerretWoman
1996-11-22  0:00                         ` Richard A. O'Keefe
1996-11-24  0:00                           ` Fergus Henderson
1996-11-18  0:00                   ` Richard A. O'Keefe
1996-11-18  0:00                     ` Michael Feldman
1996-11-20  0:00                       ` Testing teaching belief? Richard A. O'Keefe
1996-11-20  0:00                         ` Robert Dewar
1996-11-20  0:00                         ` Robert Dewar
1996-11-22  0:00                           ` Richard A. O'Keefe
1996-11-29  0:00                             ` Debora Weber-Wulff
1996-12-01  0:00                               ` Robert Dewar
1996-11-14  0:00             ` Looking for good Ada95 book Richard A. O'Keefe
1996-10-31  0:00       ` Tom Pastuszak
1996-11-04  0:00 ` John English
1996-11-06  0:00 ` Wolfgang Gellerich
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox