Re: What computer languages are standardised?





Oliver Wong wrote On 11/17/05 15:15,:
> "Ed Prochak" <ed.prochak@xxxxxxxxxxxxxxxxxx> wrote in message
> news:1132266243.000510.326230@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>>Scott Moore wrote:
>>
>>>Paul F. Dietz wrote On 11/17/05 05:31,:
>>>
>>>
>>>>IMO, a standard becomes especially useful when it's embodied in a set
>>>>of conformance tests. Such tests keep the implementors on the same
>>>>page, and also help debug the standard ('did you *really* mean to
>>>>require that behavior?')
>>>>
>>>>Paul
>>>
>>>Sure, thats a good one. Pascal had a huge suite of compliance tests
>>>appear at the same time as its standards (both of them). In fact,
>>>the Pascal compliance test may stand alone for a long time as
>>>being one of the best that has ever appeared. It checked not only
>>>what was in the standard, but checked for cases that should not
>>>compile as well, and many other quality tests.
>>
>>Doesn't ADA have a standard compliance test suite? I'd expect it to be
>>more extensive than one for PASCAL, but I do not know this to be a
>>fact.
>
>
> As does COBOL. The test is distributed by NIST, and it too contains both
> tests programs which should compile and produce a certain result as well as
> programs which are intentionally crafted so as to trigger specific compiler
> error messages.
>
> - Oliver
>
>

There was also a "standard model implementation" of Pascal produced, and the source
for that released. So the "standard model" could be used to compile the standard
tests, and each test corresponded to a dotted item number in the standard (like
5.3.5). The test, the model, and the standard left no chance for anyone to
misinterpret the standard. The standard model compiler compiled to an internal
code (like "bytecode") and interpreted that.

All for naught. The standard was almost completely ignored on the IBM-PC
implementations.

.



Relevant Pages

  • Re: <ctype.h> toLower()
    ... > If it's a free standing implimentation, then the scope of the standard is ... I am talking about the compiled object code when I mean ... advantages of object code far outweigh source code in terms of portability. ... > you compile it with a hosted implimentation for that platform). ...
    (alt.comp.lang.learn.c-cpp)
  • Re: export
    ... > The standard mandated lots of things not demanded by the market, ... Only when you think of templates as functions. ... You don't compile them to object code, ... cannot make libraries of metafunctions and meta-object files with any ...
    (comp.lang.cpp)
  • Re: C++ Coding Standards
    ... In standard C is not possible to replace ... Compile cleanly at high warning levels. ... Always write internal #include guards. ...
    (comp.lang.c)
  • Re: PROBLEM
    ... Why does it matter that old programs must conform to a new C standard? ... to codify "existing practice" to the extent it could, ... it in any way, just getting past the compile errors), how eager ... ISO or FIFA or whatever. ...
    (comp.std.c)
  • Re: Another PL/I cant
    ... > One of the VAX extensions that predates the current standard by many years ... I did have a standard conforming way to write something like ... CVF fails to compile it. ...
    (comp.lang.fortran)