This is my BS final project on writing an interpreter for REXX programming language on DOS operating system.
I used Borland C++ 4.5 compiler for compiling the code of this project.
Internet was not widely spread in Iran when I was writing this interpreter. Therefore my knowledge about REXX was based on what Dr. Towhidi taught me and some few documents.
REXX is a simple programming language for beginners. But somehow writing its interpreter is hard especially when you want to write it on DOS with limited RAM support.
In the first course of computer programming, Dr. Towhidi taught REXX on IBM 370. We used mainframe terminals to code our first programs.
A few PC 286s were in computer laboratory of computer engineering department of Shiraz university on those days. DOS was the operating system of those PCs. By adding more and more PCs to the laboratory, we were able to use them for running DOS applications specially Turbo C for programming.
My project was based on my suggestion to Dr. Towhidi for writing a REXX interpreter on DOS in 1996.
This project took a lot of time of me. Because it was the first time that I wanted to write an interpreter and I had a little practical and theoretical knowledge on how to write an interpreter.
My last major changes on the source code of this interpreter was on September 1999.
Please take a look at "valuevar.cpp" file. It took me long time to solve the problems of this part of interpreter because of the interesting behavior of variables in REXX and my emphasize on full object oriented programming.
The following links have more information about REXX: