|
ABSTRACT
This paper describes the design and implementation of an automatic translator from standard FORTRAN IV to QuickBASIC, a structured form of the programming language BASIC. The translator makes two passes on the input program before finally generating the translated program. The converter not only performs lexical, syntactic and limited forms of semantic analyses on the source program, but it also recovers from any errors encountered. It was implemented using the C programming language in the Disk Operating System (DOS) environment and was successfully ported to UNIX. Furthermore, the contingencies to cope with other dialects of the source language have been defined, and the problems encountered in the implementation process are discussed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
2. CARINGAL, R. B. (1990), A High Level Programming Language Translator From FORTRAN IV To QuickBASIC, Masters Thesis, Asian Institute of Technology, Bangkok, Thailand.
|
| |
3
|
|
 |
4
|
|
| |
5
|
5. FREAK, R.A. (1981), A Fortran to Pascal Translator, Software - Practices and Experience, Vol. 11, pp. 717-732.
|
| |
6
|
6. LEMKIN. P.F. (1987), PSAIL - A Portable SAIL to C Language Compiler, Image Processing Section Laboratory of Mathematical Biology, DCBDC National Cancer Institute.
|
| |
7
|
|
| |
8
|
8. MICROSOFT. (1988), BASIC Language Reference, Microsoft Corporation.
|
 |
9
|
|
| |
10
|
|
| |
11
|
11. USASI Sectional Committee X3. (1964), FORTRAN vs. Basic FORTRAN, Communications of the ACM, Vol. 7, No. 10, pp. 591-625.
|
 |
12
|
|
 |
13
|
|
| |
14
|
14. VAN DER LAAN, C.G. (1982), Programming In Algol 68 (as a host) and the Usage of FORTRAN (program libraries), The Relationship Between Numerical Computation and Programming Languages, North-Holland Publishing Company, IFIP.
|
|