|
ABSTRACT
The relationship between the set of productions of a context-free grammar and the corresponding set of defining equations is first pointed out. The closure operation on a matrix of strings is defined and this concept is used to formalize the solution to a set of linear equations. A procedure is then given for rewriting a context-free grammar in Greibach normal form, where the replacements string of each production begins with a terminal symbol. An additional procedure is given for rewriting the grammar so that each replacement string both begins and ends with a terminal symbol. Neither procedure requires the evaluation of regular begins and ends with a terminal symbol. Neither procedure requires the evaluation of regular expressions over the total vocabulary of the grammar, as is required by Greibach's procedure.
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
|
ARDEN, D.N. Delayed logic and finite state machines. In Theory of Computing Machine Design, U. of Michigan Press, Ann Arbor, Mich., 1960, pp. 1-35.
|
| |
2
|
BRZOZOWSKt, J. A. A survey of regular expressions and their applications. IRE Trans. EC-II, 3 (June 1962), 324-335.
|
| |
3
|
----" AND McCLusKEY, E. J., JR. Signal flow graph techniques for sequential circuit state diagrams. IEEE Trans. EC-12, 2 (April 1963), 67-76.
|
| |
4
|
CHOMSKY, N. Formal properties of grammars. In Handbook of Mathematical Psychology, Vol. II, Lute, II. D., Bush, R. R., and Galanter, E. (Eds.), Wiley, New York, 1963, pp. 323- 418.
|
| |
5
|
----- AND SCHUrZENBERUER, M. P. The algebraic theory of context-free languages. In Computer Programming and Formal Systems, Braffort, P., and Hirschberg, D. (Eds.), North- Holland Publishing Co., Amsterdam, 1963, pp. 118-161.
|
 |
6
|
|
 |
7
|
|
| |
8
|
KLEENE, S. C. Representation of events in nerve nets and finite autornata. In Automata Studies, Shannon, C. E., and McCarthy, H. (Eds.), Princeton U. Press, Princeton, N. J., 1956, pp. 3-41.
|
| |
9
|
McNAuGHrON, R., AND YAMADA, H. Regular expressions and state graphs for automata. IRE Trans. EC-9, 1 March 1960), 39-47.
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|