Date of Award

Spring 1985

Degree Type

Master's Essay - Restricted

Degree Name

Master of Science (MS)


Electrical and Computer Engineering


A translator is a computer program which translates the representation of an algorithm from one kind of language to another language. The translator generates an output program which corresponds to the input program in such a way that the input program remains the same but its encoding is changed in the output program. The encoding in the input program is human oriented and the encoding in the output program is machine oriented. As the machine only understands machine language, the output program has to be in machine code. If the output program is in assembly code it has to be translated by an assembler. The translation of the human oriented input to machine oriented output program is done by a compiler. This paper has been divided mainly in two parts. The first part contains a brief discussion about a compiler. The second part contains the design of a FORTRAN-like language and a compiler which will accept this language as input. The compiler will generate an assembly language program similar to the ones written on the VAX-11 computer. The first part of the paper gives a brief description about the different phases of a compiler, while the second part shows the design of those phases for the FORTRAN-like language.