Aids for program interchange.The concept of program interchange has been the fundamental idea behind the creation of Software indexes such as the 10,000 strong NCC NCC See National Clearing Corporation (NCC). National Computer Program Index, and hire and buy schemes in the USA. It may be that the realisation of the difficulties involved, combined with the US Navy's decision to use only USASI USASI United States of America Standards Institute (now ANSI) USASI United States Army Standards Institute Cobol and Fortran inspired the lecture. One would have thought that the subject would have been of sufficient interest to attract more than the few that attended. (Editor). The difficulties in the way of simple program interchange are those of obtaining common standards. The introduction of high level language enabled programs to be rewritten each time they were needed for relatively simple problems. Now problems have become so complex that it is expensive to continue to throw them away. Further sub-divisions of standard languages into dialects prevents successful interchange. For example two Fortran standards exist X3 9--1966 Fortran which approximates to Fortran TV and X3-io--1966 Basic Fortran (language) Basic Fortran - A subset of Fortran. [Sammet 1969, p. 150]. which is equivalent to Fortran II Fortran II - 1958. Added subroutines. . USASI Fortran has developed from ASA Asa (ā`sə), in the Bible, king of Judah, son and successor of Abijah. He was a good king, zealous in his extirpation of idols. When Baasha of Israel took Ramah (a few miles N of Jerusalem), Asa bought the help of Benhadad of Damascus and Fortran and has been specifically devised to assist program interchange. Problems in implementing USASI. Writers in USASI do not always take into account the limitations placed upon the programmer. e.g. An apparent Fortran program Noun 1. FORTRAN program - a program written in FORTRAN computer program, computer programme, programme, program - (computer science) a sequence of instructions that a computer can interpret and execute; "the program required several hundred lines of code" may be read EQUIVALENCE (I.J) I=1 (A(J) = 1.235 but USASI does not allow J as a subscript (1) In word processing and scientific notation, a digit or symbol that appears below the line; for example, H2O, the symbol for water. Contrast with superscript. (2) In programming, a method for referencing data in a table. , therefore this is not USASI Therefore a program may look USASI but since it is not USASI it is not transferable. Note: NCC have produced a manual for USASI Fortran which is in print at the moment. The most important part of this manual is the section on the semantic restrictions on USASI. For example
Function F(K)
K = K 1
F = K
RETURN
END
But J = I + F(I) is unacceptable to USASI as thus if I = I it may compile as 3 or 4. Perhaps the most difficult problem as far as the user is concerned is the fact that it is essential that for USASI Fortran to work, compatibility is required between USASI compilers, and some sort of testing procedure is necessary in order to ensure this occurs. This testing procedure may be * Syntax check * Fortran compile and execute. A cheaper method may be to put the test program through a USASI Syntax checker Noun 1. syntax checker - a program to check natural language syntax computer program, computer programme, programme, program - (computer science) a sequence of instructions that a computer can interpret and execute; "the program required several hundred lines of code" then test it on several compilers. Any program interchange must ignore the length of word in the machine and adhere to adhere to verb 1. follow, keep, maintain, respect, observe, be true, fulfil, obey, heed, keep to, abide by, be loyal, mind, be constant, be faithful 2. the rules. System features should not be used that cannot be replaced in pure Fortran. For useful interchange it is essential that documentation be provided, both user documentation, and language documentation. A set of aids is being provided by NCC that will automatically supply this data. It includes (1) A Tidy program that renumbers all of the program statements in ascending ascending /as·cend·ing/ (ah-send´ing) having an upward course. ascending progressing to higher levels, usually used in reference to the nervous system. order--for example if 53 IF@ 54,27,298 is presented then it is certain that 27 precedes 53, 54 follows immediately and 298 is a numerical sequence much further on. (2) A Flow Charting program which produces empty boxes in order that me originator can put relevant information in the flow diagram in significant terms. (3) A Dictionary program provides a listing of all names in the program, where they are and what they mean. (4) A Syntax check is provided. USASI Cobol is also available as an interchange language. A questionnaire circulated in the UK to ascertain the degree of interest in this language was a waste of time. However in the USA a compiler has been produced which translates any form of Cobol to USASI Cobol, and it is expected that by Feb. 1970 USASI Cobol will be available on every US commercial machine. Fundamentally however the conclusion that one must draw is that programs must be written with interchange in mind at the beginning, not as an afterthought af·ter·thought n. An idea, response, or explanation that occurs to one after an event or decision. afterthought Noun 1. at the end. The original text from Vol. No.l 1969 M. B. Wood NCC |
|
||||||||||||||||

Printer friendly
Cite/link
Email
Feedback
Reader Opinion