Download MIL-STD-187

Transcript
Downloaded from http://www.everyspec.com
MIL-STD-187-31O
10.2.2.2
Compiler
10.2 .2.2.1
~ce
Language for the Compiler. Since COL is a specialized language for communications processing, there is no requirement
for the COL compiler to be written in its own language. However, the
COL compiler should be written in an appropriate high order language,
so that the same benefits which accrue to communications programs
through the use of COL will accrue to the compiler program through
the use of an appropriate high order language.
10.2 .2.2.2 The Cross-Compiler Implementation. Since the communications computer family will include machinea which are too small to
be self-targeting, the compiler will be a cross-implementation on a
large, general-purpose computer systam. This implementation will be
organized to keep the essentially target computer independent
features of the compiler separate from the target machine dependent
features. This will permit retargeting of the compiler with minimal
effort.
10.2 .2.2.3 Interpretive Execution. The compiler output shall be used
as input to a communications computer simulator/emulator which will be
used for preliminary program checkout on the source computer.
o
10.2 .2.2.4 Compiler Modifications and Extensions. It is recognized
that the initial version of COL and the COL compiler will need modifications and extensions. Thus, the compiler shall be organized tO Pe~it
eyntax extensi0n!3. Such extensions will not be permitted at the user
level.
10.2.2.3
~,
~
,.
Pro?,ram Documentation
10.2 .2.3.1 Automatic Flow Charts. There will be the capability to produce, on the~rce
computer, a flow chart from the COL source programs.
This will not necessarily be a conventional flow chart. Ideas from
the software engineering literature concerning automatic documentation
and self-documentation till be considered before the form of such documentation is finalized.
10.2 .2.3.2 Manual Documentation”. Since programs cannot be fully documented from the source program, additional manual documentation will
be required.
Specifications for such documentation will “be developed,
as will techniques for having the source computer assist in the
documentation.
.-
10.2 .2.3.3 Responsibility for Maintaining Documentation. A definite
line of responsibility will be specified for maintaining program documentation. Ultimate ~esponsibilit y will be with the pr~g~am-manager.
The program librarian function will be considered an important part
of the overall COL program development effort.
10-2-3
.
,.
. . .