Language lawyer interpretation needed

From: Kevin G. Rhoads (Kevin.Rhoads_at_Dartmouth.edu)
Date: 02/25/04


Date: Wed, 25 Feb 2004 11:02:20 -0500

OpenWatcom v1.2 F77 compiler is being checked against the NIST test suite. Almost everything
passed, but four tests still are at issue.

Specifically test FM403.FOR tests, among other things, Hollerith stuff. It looks like
originally it was getting the wrong input file, but the NIST tests are nice in that
they carry the proper input in comments, so I was able to construct an input file
for use in testing.

However, I found that the source would not compile properly unless the source file
was saved so as to avoid tab-replacement of repeated blanks. This makes sense to
me, as Hollerith things are essentially counted strings and tab-replacement changes
the count. Similarly, the input file needs the same care to avoid some overzealous
text editor changing whitespace to so-called "equivalent" forms involving tabs.

With the source file and the input file "changed" to avoid tab replacement, the source
compiles properly and the output seems to be correct, indicating the test is passed.
Before we consider this a PASS and not a FAIL -- are there any other things to check
here? Any reservations about this? Caveats?



Relevant Pages

  • Re: Ten Commandments (On Topic!)
    ... group can be different from compiler to compiler whereas `parsers' can be written in 100% portable fortran. ... one can use NAMELIST strictly for the user-prepared part of the input file since that is where it is very useful. ... to correctly transfer the data from the input file to the variables). ...
    (comp.lang.fortran)
  • Re: noob question re: space delimited input
    ... Thanks George, dpb, and Richard. ... I am going to try with a different compiler, ... I have a test input file that called 'input.txt' containing: ... removed, so maxSize is probably ...
    (comp.lang.fortran)
  • Re: QteStartViewCreation - create source debugger views
    ... Steve Richter wrote: ... set DBGVIEW to anything that gets the compiler ... input file by the next stage in the compile, ... ILE RPG Root Source View - created by RPG preprocessor for the original ...
    (comp.sys.ibm.as400.misc)
  • Re: Realia Cobol help please
    ... > I'm running a very old version of Realia Cobol, ... > Is there any way to concatenate multiple files to an input file? ... no other compiler can do it either. ...
    (comp.lang.cobol)
  • Concurrent Writes to a text file
    ... the source file into several (10 ... Though each app had its own Input file, I'd like them all write to the same ... The problem that I run into is that all the original Input ... items are not in the common Output file. ...
    (microsoft.public.vb.general.discussion)