Back to Search Start Over

A Nonrecursive Method of Syntax Specification.

Authors :
Carr, III, John W.
Weiland, Jerome
Knuth, D. E.
Source :
Communications of the ACM; Apr1966, Vol. 9 Issue 4, p267-269, 3p, 1 Chart
Publication Year :
1966

Abstract

The use of the Kleene regular expression notation for describing algebraic language syntax, in particular of ALGOL is described in this paper. A FORTRAN II computer program for carrying out the elimination algorithm of Gorn, similar to Gaussian elimination for linear systems of algebraic equations, is described. This was applied to numerous smaller languages, including some sublanguages of ALGOL. A hand calculation result of the application of the algorithm to all of ALGOL is given, thus expressing the Revised ALGOL 1960 syntax in completely nonrecursive terms, as far as its context-free portion is concerned. This description in many ways is far more intuitively understood than the previous recursive description, it is suggested. The paper also includes results of the machine program, which does not include a simplification algorithm. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00010782
Volume :
9
Issue :
4
Database :
Complementary Index
Journal :
Communications of the ACM
Publication Type :
Periodical
Accession number :
5230623
Full Text :
https://doi.org/10.1145/365278.365503