Paper record

W2152907450

An Efficient Recognition and Syntax-Analysis Algorithm for Context-Free Languages

Tadao Kasami

Year
1965
Venue
Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)
References
9
Cited by
582

Details and counts from OpenAlex.

Abstract

An efficient algorithm of recognition and syntax-analysis for the full class of context-free languages without the difficulty of exponential growth of computing time with the length n of input sequence is presented.This algorithm makes use of a fundamental algebraic property of a context-free 3 language.It is shown in this paper that a context-free language is n recognizable in the sense of Hartmanis and Stearns by a double-tape or double-4 head single-tape Turing machine and it is n -recognizable by a single-head single-tape Turing machine.The size of memory required for recognition is 2 proportional to n .If we use a random-access memory whose size is proportional 2 to n , the computing time required for syntax-analysis is upper-bounded by 3 2 C^n + C^n N, where N denotes the number of non-equivalent valid derivation sequences for a given input sequence and C^'s are constants independent of 2 input sequences.If we use two tapes of length C^n and two tapes of length C^n as working memories, the computing time for syntax-analysis is upper-3 bounded by n (C,.+ C^N).