Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jordan@Starbase.NeoSoft.COM (Jordan Henderson)
Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA *
Date: 1998/08/29	[thread overview]
Message-ID: <6sac4v$4ti$1@Starbase.NeoSoft.COM> (raw)
In-Reply-To: 35e833be.0@news.wizvax.net

In article <35e833be.0@news.wizvax.net>, John Wilson <wilson@dbit.com> wrote:
>In article <6s910k$2bo$1@Starbase.NeoSoft.COM>,
>Jordan Henderson <jordan@Starbase.NeoSoft.COM> wrote:
>>I remembered that after posting that the compiler does in fact have
>>support for a 'nul-terminated string' in it's string constants.  There's 
>>another place as well, command line arguments are supported as nul-terminated
>>strings.
>
>Nitpick:  the argc/argv command line arguments *are* set up by the C
>runtime library as part of the init code, so they're not part of the
>core language itself.  But since the C runtime init is normally linked
>in without the user's permission or knowledge it *seems* like it's part
>of the language.
>

I have to admit, I don't have the C standard at hand.  However, I would
be surprised if the standard >required< that command line arguments be setup
by something "linked in".  I believe that a conforming implementation 
could have the compiler writing all the code into the user's program 
necessary to perform this command line argument setup.

I believe that a conforming implementation can write the code in-line
for any Standard Library call (and optimize based on this in-lining).  
This seems to me to make the entire Standard Library part of the 
"core language".

I think that, conceptually, the handling of command line arguments is
part of the core language.  What >is< part of the core language and what is 
not?  And what is your justification for the separation?

>John Wilson
>D Bit

-Jordan Henderson
jordan@neosoft.com



  parent reply	other threads:[~1998-08-29  4:00 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0095000017115526000002L062*@MHS>
     [not found] ` <35E04DF1.1911@world.std.com>
     [not found]   ` <35E09E76.6773@earthlink.net>
1998-08-23  4:00     ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Terry C. Shannon
1998-08-23  4:00       ` Glenn C. Everhart
1998-08-24  4:00         ` Paul Sture
1998-08-25  4:00           ` Gregg E Economou
1998-08-25  4:00             ` Jordan Henderson
1998-08-26  4:00               ` Bob Koehler
     [not found]                 ` <6s910k$2bo$1@Starbase.NeoSoft.COM>
     [not found]                   ` <35e833be.0@news.wizvax.net>
1998-08-29  4:00                     ` Jordan Henderson [this message]
1998-08-30  4:00                       ` Gregg E Economou
1998-08-30  4:00                         ` K&R fight over ketchup (was: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA ) Clint Comes
1998-08-31  4:00                           ` Bob Koehler
1998-09-05  4:00                             ` Gregg E Economou
1998-08-30  4:00                       ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * John Wilson
1998-08-30  4:00                         ` JF Mezei
1998-08-30  4:00                           ` Chris Torek
1998-08-31  4:00                             ` Gregg E Economou
1998-08-31  4:00                               ` Chris Torek
1998-08-30  4:00                         ` Lawrence Kirby
1998-08-30  4:00                           ` JF Mezei
1998-08-30  4:00                             ` Martin Ambuhl
     [not found]                             ` <6scur7$qtk@bgtnsc02.wo <35EA0E22.C59E9476@videotron.ca>
1998-08-31  4:00                               ` Will Rose
1998-08-31  4:00                             ` Michael Rubenstein
1998-08-31  4:00                             ` Craig Franck
1998-08-30  4:00                               ` JF Mezei
1998-08-31  4:00                                 ` firewind
1998-09-04  4:00                         ` Thor Lancelot Simon
1998-09-05  4:00                       ` Peter da Silva
1998-09-05  4:00                         ` Jordan Henderson
1998-09-07  4:00                           ` Peter da Silva
1998-09-07  4:00                             ` Jordan Henderson
1998-09-07  4:00                               ` Peter da Silva
1998-09-07  4:00                                 ` Jordan Henderson
1998-09-08  4:00                                   ` JF Mezei
1998-09-08  4:00                                   ` Tim Shoppa
     [not found]                                     ` <6t4cui$hfu@espresso.cafe.net>
1998-09-09  4:00                                       ` Tim Shoppa
1998-09-08  4:00                                         ` JF Mezei
1998-09-09  4:00                                         ` Dan Pop
1998-09-09  4:00                                           ` Peter da Silva
1998-09-08  4:00                                   ` Peter da Silva
1998-09-08  4:00                                     ` Peter da Silva
     [not found]                                     ` <6t2im5$mke@espresso.cafe.net>
1998-09-08  4:00                                       ` Peter da Silva
1998-09-08  4:00                                 ` Dan Pop
1998-09-08  4:00                                   ` Peter da Silva
1998-09-08  4:00                                     ` Dan Pop
1998-09-07  4:00                               ` Dan Pop
1998-09-07  4:00                               ` Richard Stamp
1998-08-29  4:00                   ` Gregg E Economou
1998-08-30  4:00                     ` Jay Maynard
1998-08-25  4:00             ` John Wilson
1998-08-26  4:00               ` Gregg E Economou
1998-08-27  4:00                 ` John Wilson
1998-08-26  4:00             ` Bob Koehler
1998-08-27  4:00               ` Thor Lancelot Simon
1998-08-28  4:00                 ` Bob Koehler
1998-09-05  4:00                   ` Peter da Silva
1998-09-08  4:00                     ` Carl Perkins
1998-08-28  4:00                 ` TERENCE MURPHY
1998-08-28  4:00                   ` George Cornelius
1998-08-28  4:00                   ` Greg Thomas
1998-08-29  4:00                     ` mathog
1998-09-01  4:00                       ` Greg Thomas
1998-08-28  4:00                   ` Monty Brandenberg
1998-08-29  4:00                   ` Gregg E Economou
1998-09-05  4:00                   ` Peter da Silva
1998-08-31  4:00                 ` Boris
1998-08-27  4:00               ` Peter da Silva
1998-08-31  4:00                 ` Boris
1998-08-26  4:00             ` Paul Sture
1998-08-27  4:00               ` Gregg E Economou
1998-08-28  4:00                 ` Paul Sture
read-only archive

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