Browsing by Author "Ajila, Samuel Adesoye"
Now showing 1 - 1 of 1
Results Per Page
Sort Options
- ItemOpen AccessDesign and Implementation of an Algol-Like Intermediate Compiler.(Obafemi Awolowo University, 1987) Ajila, Samuel Adesoye; Owoso, G. O.The gap created by the abstraction of a programming language from the machine level is bridged by means of a translation system known as a compiler. The design and implementation of this intermediate compiler is based on the Recursive Descent compiling technique. In this technique, the compiler is activated through the syntax analyser. The syntax analyser is divided into a number of recognition routines, each of which has the task of checking whether a particular kind of phrase is present in the input, and then calls upon the services of other routines to recognize the appearance of other subphrases. The routines are mutually recursive. In addition, semantic checking and code generation phases are integrated into the syntax analysis phase. Some of the results of this technique include the ability of the intermediate compiler to do its recognition, type checking and code generation without 'backup'. The total code of the compiler is very small and it is written in a high-level programming language (PASCAL). In general these advantages result in portable and more easily understood compiler. As a result of the implementation technique, this compiler can be used as a teaching aid in compiler construction class at the undergraduate level. It can also be used to introduce structured programming for a beginner in Computer Science.