Development of an Arabic programming language based on logic.

number: 
233
إنجليزية
department: 
Degree: 
Imprint: 
Computer Science
Author: 
Jamal Mohammed K. Al-Ethawie
Supervisor: 
Dr. Mohammed A. Shallal
year: 
1997
Abstract:

The present work is introduced as a simple attempt to write an Arabic high-level programming language that is based on logic. The language is named APROL which stands for Arabic PROgramming in Logic. APROL is constructed as a translator with interpreter characteristics which is preluded by three phases that are part of a typical compiler. These phases are : lexical, syntax, semantic phases. Further, we have a special- code generator phase thnt is required for the interpreter. APROL is written in three passes: the first-pass represents the lexical_analyzer that accepts the character stream and generates a list of tokens. The second-pass represents the syntax analyzer, (which uses the recursive-descent technique), semantic analyzer and the. interpreter code generator. Whereas the third-pass represents the interpreter. The interpreter takes a special-code generated from the second-pass and executes the program statements. The language is implemented in TURBO PROLOG (version 2.0) with the supplement of its toolbox and Nafitha Software for Arabic alphabets.