|
ABSTRACT
The notion of a discrete pattern is formalized and certain properties deduced. A pattern is shown to be a generalization of a formal language. Algorithms for implementing the kinds of patterns in SNOBOL4 are given. The general approach is to create, in-so-far as possible, a bottom-up parse from a top-down specification.
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
|
Chomsky, N. Three models for the description of language. PGIT 2 (Mar. 1956), 113-124.
|
| |
2
|
Christensen, C. AMBIT/2 (programming language). Applied Data Research, Wakefield, Mass., 1970.
|
| |
3
|
Dewar, R.B. SPITBOL-version 2.0. SNOBOL4 Document s4D23, Illinois Inst. of Tech., Chicago, 1971.
|
 |
4
|
|
| |
5
|
Floyd, R.W. The syntax of programming languages. IEEE Trans. EC-13 (Aug. 1964), 346-353.
|
 |
6
|
|
| |
7
|
Gimpel, J.F. The theory and implementation of pattern matching in SNOBOL4 and other programming languages. SNOBOL4 doc. S4D24, Bell Telephone Laboratories, Holmdel, N.J., 1971.
|
| |
8
|
|
| |
9
|
Griswold, R.E., and Polonsky, I.P. String pattern matching in the programming language SNOBOL. Internal Memo., Bell Telephone Laboratories, Holmdel, N.J., 1964.
|
| |
10
|
|
| |
11
|
Harrison, M.C. Data-Structures and Programming. Courant Institute of Math. Sciences, New York, 1970, p. 289.
|
| |
12
|
|
| |
13
|
McClure, R.M. TMG-A syntax directed compiler. Proc. ACM, 20th Nat. Conf., 1965, pp. 252-274.
|
 |
14
|
|
| |
15
|
Thompson, K. QED-A text editor. (To be published.) Internal Memo., Bell Telephone Laboratories, Murray Hill, N.J.
|
| |
16
|
Yngve, V.H. A programming language for mechanical translation. Mech. Trans. 4 (Dec. 1957), 59-65.
|
|