Scanner and Analyzer of ALGOL-60(Subset) for IBM II30

IBM 1130을 위한 ALGOL-60(Subset)의 스캐너와 어낼라이저

  • Published : 1985.01.01

Abstract

This pape rdeals with the first half of ALGOL-60(Subset) compiler -scanner and analyzer-, which is writter in FORTRAN IV. As the original syntax description of ALGOL-60 is too complex to use, real number array, and procedures are omitted. And a subset of ALGOL-60 is defined.

본 논문은 서울工大 전자계산소에 있는 IBM1130에 ALGOL-60 언어를 사용 가능하게 하기 위하여 ALGOL-60 콤파이러(Compiler)를 만드는데 첫 단계 인 scanner와 analyzer에 관한 것이다. 과거에 콤파이러는 주로 기계어나 어ㅆ브 리어로 쓰여졌으나, 현재는 콤파이러를 만드는 시간과 디버깅하는 시간을 줄이기 위하여 고등연어(high-level language)를 사용하는 경향이다. 본 논문은 FORTRAN IV를 사용하였다. 2장에서는 콤파이러의 구성을 설명하고, 3장에서는 ANGOL-60(Sudset)을 정의하고, 4장에서는 scanner의 구성과 작업과정을, 5장에 서는 analyzer의 구성과 작업을 설명하였다.

Keywords