© 1974 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Non-deterministic FORTRAN

1 Physics Department, Brandeis University, Waltham, Massachusetts, USA, 2 Mathematics Department, Brandeis University, Waltham, Massachusetts, USA
This paper presents extensions to FORTRAN that enable programmers to write Floyd's non-deterministic algorithms. The paper also describes a syntax-directed translator of non-deterministic FORTRAN programs into standard FORTRAN. It is shown that is suitable conventions are made as the form of input programs, there exists a simple finite-state grammar that can be used to drive the translation. Two examples are given: (1) a program to solve the eight queens problem and (2) a selective top-down parser that can be useful in syntax-directed translation.
Received June 1972. Revised January 1973.
* Physics Department, Brandeis University, Waltham, Massachusetts 02154, USA.
Senior Student, Mathematics Department, Brandeis University, Waltham, Massachusetts 02154, USA, now a graduate student, Computer Science Department, University of Maryland.