ACM Home Page
Please provide us with feedback. Feedback
An Alternative to the Use of Patterns in String Processing
Full text PdfPdf (1.25 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 2 ,  Issue 2  (April 1980) table of contents
Pages: 153 - 172  
Year of Publication: 1980
ISSN:0164-0925
Authors
Ralph E. Griswold  Department of Computer Science, University of Arizona, Tucson, AZ
David R. Hanson  Department of Computer Science, University of Arizona, Tucson, AZ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 28,   Citation Count: 11
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/357094.357096
What is a DOI?

ABSTRACT

SNOBOL4 is best known for its string processing facilities, which are based on patterns as data objects. Despite the demonstrated success of patterns, there are many shortcomings associated with their use. The concept of patterns in SNOBOL4 is examined and problem areas are discussed. An alternative method for high-level string processing is described. This method, implemented in the programming language Icon, employs generators, which are capable of producing alternative values. Generators, coupled with a goal-driven method of expression evaluation, provide the string processing facilities of SNOBOL4 without the disadvantages associated with patterns. Comparisons between SNOBOL4 and Icon are included and the broader implications of the new approach are discussed.


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
ATKINSON, R. Toward more general iteration methods in CLU. CLU Design Note 54, M.I.T., Cambridge, Mass., Sept. 1975.
2
3
 
4
DEWAR, R.B.K. SPITBOL version 2.0. SNOBOL4 Proj. Doc. S4D23, Illinois Inst. Technology, Chicago, 1971.
 
5
DEWAR, R.B.K., AND MCCANN, A.P. MACRO SPiTBOL--A SNOBOL4 compiler. Softw., Pract. Exper. 7, I (Jan.-Feb. 1977), 95-114.
 
6
DOYLE, J.N. A generalized facility for the analysis and synthesis of strings and a procedurebased model of an implementation. M.S. thesis, Univ. Arizona, Tucson, 1975.
 
7
FLECK, A.C. Formal models for string patterns. In Current Trends in Programming Methodology, vol. IV, Data Structuring, R. T. Yeh, Ed. Prentice-Hall, Englewood Cliffs, N.J., 1978, pp. 216-240.
8
 
9
10
 
11
GiMPEL, J.F. Nonlinear pattern theory. Acta Inf. 4, (1975), 91-100.
12
13
 
14
GRISWOLD, R.E. String and List Processing in SNOBOL4, Techniques and Applications. Prentice-Hall, Englewood Cliffs, N.J., 1975, pp. 12, 233-234.
 
15
 
16
GRmWOLD, R.E. The use of character sets and character mappings in Icon. Comput. J., to appear.
17
 
18
GRISWOLD, R.E., AND HANSON, D.R. Reference manual for the Icon programming language. Tech. Rep. TR 79-1, Dep. Comput. Sci., Univ. Arizona, Tucson, Jan. 1979.
19
20
 
21
22
 
23
KNUTH, D.E., MORRIS, J.H., AND PRATT, V.R. Fast pattern matching in strings. SIAM J. Comput. 6, 2 (June 1977), 323-350.
 
24
25
 
26
NEWELL, A., ED. Information Processing Language-V Manual (Rand Corp.), Prentice-Hall, Englewood Cliffs, N.J., 1961.
 
27
PFEFrER, A.S., AND FURTADO, A.L. Pattern matching for structured programming. In Proc. 7th Asilomar Conf. Circuits, Systems, and Computers, Pacific Grove, Calif., 1973, pp. 466-469.
 
28
Proceedings of the workshop on pattern-directed inference systems. SIGART Newsletter 63 (June 1977), 1-84.
29
30
 
31
SUSSMAN, G.J., ANO McDERMOtt, D.V. From PLANNER to CONNIVER--A genetic approach. Proc. 1972 AFIPS, Fall Jt. Computer Conf., vol. 41, AFIPS Press, Arlington, Va., pp. 1171-1179.
 
32
TESLER, L.G., ENEA, H.J., AND SMXTH, D.C. The LISP70 pattern matching system. In Proc. 3rd Int. Jt. Conf. Artificial Intelligence, Stanford, Calif., 1973, pp. 671-676.
 
33
VA~ WIJ~GAAROE~, A., ET AL. Revised report on the algorithmic language Algol 68. Acta Inf. 5 (Jan. 1976), 1-236.
34

CITED BY  11

Collaborative Colleagues:
Ralph E. Griswold: colleagues
David R. Hanson: colleagues