Modularer Mustervergleich im Rahmen prozeduraler Programmierung
- 30 Downloads
We discuss recent criticism against the pattern concept of SNOBOL and similar languages. It is felt that the objections are basically justified.
On the other hand, the pure concept of pattern does have some undoubted virtues which are apparently hampered by the rest of the SNOBOL language. The present paper contains a new approach to representing the results of a pattern match, which can be implemented efficiently. In particular, the bothersome detour via side effects as necessitated by SNOBOL is avoided.
The implementation is sketched in some detail. Several examples of applying the proposed ideas conclude the article.
Unable to display preview. Download preview PDF.
- Bertsch, E. und Mueller-von Brochowski, A.: String and File Handling in COMSKEE, Sprache und Datenverarbei-tung 3, 1–9 (1979/80)Google Scholar
- Bertsch, E.: Regular Expression Matching - Language Concepts and Efficient Implementation/ Informatik-Berichte Nr. 11, Fernuniversität Hagen (1980)Google Scholar
- Griswold, R.E., Poage, J.F. und Polonsky, L.P.: The SNOBOL 4 Programming Language, Prentice-Hall (1971)Google Scholar
- Griswold, R.E. und Hanson, D.R.: An Overview of SL 5, Sigplan Notices, 40–50 (Apr.1977)Google Scholar