User Tools

Site Tools


tutorials:compilers

This is an old revision of the document!


TOPS-20 Compilers Tutorial

Compile-Load-Run

After program source has been stored in a file, the following steps are necessary before the program can be used:

  1. Compile the source code into an object (relocatable binary .REL) file.
  2. Load the object file into memory, linking with other object files if necessary.
  3. Run the program in memory. (Optionally save the program's complete executable image in a .EXE file for later use.)

TOPS-20 EXEC provides a number of commands

@COMPILE

@LOAD

@RUN

@SAVE

@EXECUTE

Supported compilers

Compiler Default file type(s)
ALGOL .ALG[1]
BLISS-10 .B10 .BLI
BLISS-36 .B36
COBOL .CBL[1]
COBOL-68 .C68 .68C
COBOL-74 .C74 .74C
FAIL .FAI
FORTRAN .FOR[1]
MACRO assembler .MAC[1]
PASCAL .PAS
SAIL .SAI
SIMULA .SIM

[1]: The system will automatically search for source files with these standard types and run the appropriate compiler if you omit the file type(s) when you run @COMPILE, @LOAD, or @EXECUTE.

SNOBOL .SNO
tutorials/compilers.1389336865.txt.gz · Last modified: 2014/01/10 06:54 by papa