Use of transition matrices in compiling

David Gries

Communications of the ACM · 1968 · 30 citations · 13 references

DOIFull text

Open access

Concepts

Abstract

An algorithm is described which constructs from a suitable BNF grammar an efficient left-right recognizer for sentences of the corresponding language. The type of recognizer, used in a number of compilers, operates with a pushdown stack and with a transition matrix. Two examples illustrate how such recognizers may be used effectively for other purposes besides the usual syntax checking.

References

13