FORTRAN compiler construction for a mini computer

  • 鄭基東 (Republic of Korea Naval Academy)
  • Published : 1984.01.01

Abstract

Writing a program in a machine or an assembly language is a tedious and time consuming task. Programs written in a high level language have the distinct advantage over machine language programming or assembly language programming in the area of the programming convenience and adaptability to various compter systems. These lead to the design of the better high level programming language. In MELCOM-83 computer system, there is no high level languages. But the only available language is a MELCOM-83 machine language. In this paper, MELCOM-83 FORTRAN language and its compiler are designed. The compiler is a translator which receives as its input the MELCOM-83 FORTRAN statements and produces as its output the object program written in the MELCOM-83 machine language.

Machine language나 assembly language와 같은 low level language로 program을 작성하는 것은 상당한 시간과 전문성이 요구된다. FORTRAN, ALGOL, COBOL과 같은 high level language는 low level language보다도 program작성에 있어서 편리할 뿐 아니라 주어진 computer system을 다양하게 응용하는데도 훨씬 유리하다. 이러한 잇점이 있기 때문에 더 좋은 high level language의 개발이 요청된다. MELCOM-83은 日本 미쯔비씨에서 개발한 다목적 사무용 mini-computer로써 이용할 수 있는 language는 machine language뿐이다. 본 논문에서는 MELCOM-83 FORTRAN-language와 compiler를 개발하였다. 이 때의 compiler는 MELCOM-83 FORTRAN program을 source program으로하고 MELCOM-83 machine language program을 object program으로한다.

Keywords