Algol 58 Paper-tape Input Page
Use this form to prepare code for the temporary Paper-tape version of the Algol 58 compiler. Enter your program code (up to 70 characters) into the blue box below.
You may enter upper or lower case
letters, digits 0-9 and the following ten special characters:
| +-./* | "." indicates multiplication, "*" signifies exponentiation. |
| () | Used for array subscripts or in arithmetic calculations |
| = | Variable assignment |
| ; | Marks the end of a statement |
| " | Used in format statements |
Commonly used statement forms:
IF X GEQ 21; GO TO AA;
FOR I =(5,1,12); BEGIN X=X+11; END;
AA.. X3=X*2;
Table of Reserved Words
| COMPILER CONTROL | LOGIC | SUBROUTINES | INPUT/OUTPUT |
| ARRAY | AND | ABS | INPUT |
| BEGIN | OR | ARCTAN | READ |
| COMMENT | NOT | COS | |
| CONTROL | EXP | OUTPUT | |
| END | EQL | LOG | FORMAT |
| ENTER | NEQ | MOD | WRITE |
| FINISH | PCS | ||
| FOR | GTR | SIN | PTREAD |
| GO | GEQ | SQRT | PTWRITE |
| IF | LSS | ||
| INTEGER | LEQ | MTSEARCH | |
| PROCEDURE | MTREAD | ||
| RETURN | MTWRITE | ||
| STOP | |||
| SUBROUTINE | |||
| SWITCH | |||
| UNTIL |
