|
ABSTRACT
Goal-directed evaluation is a very expressive programming language paradigm that is supported in relatively few languages. It is characterized by evaluation of expressions in an attempt to meet some goal, with resumption of previous expressions on failure. This paradigm is found in SNOBL4 in its pattern-matching facilities, and in Icon as a general part of the language. This paper presents a denotational semantics of Icon and shows how Icon is in fact a combination of two distinct paradigms, goal-directed evaluation and functional application. The two paradigms are not supported separately in different contexts, but integrated fully into a single evaluation mechanism.
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
|
D~ BRU~N, A. Operational and Denotational Semant~cs Describeng the Match*ng Process in SNOBOL4 Afdeling Informatica, Mathematlsch Centrum, Amsterdam, 1980.
|
| |
2
|
FLECK, A. C., AND LIrdAYE, R. S. Formal semantics and abstract properties of string operations and extended formal language description mechanisms SIAM J Comput. 12, 1 (Feb. 1983), 166-188
|
| |
3
|
FRIEDMAN, D P, HAYNES, C. T KOHLBECKER, E., AND WAND, M. Scheme 84 mterim reference manual. Tech. Rep. 153, Dept. of Computer Science, Indiana State Unir., Bloomington, Jan. 1985.
|
 |
4
|
|
 |
5
|
|
| |
6
|
|
| |
7
|
GUDEMAN, D.A. A contmuatlon semantics for Icon expressions. Tech. Rep. 86-15, Dept. of Computer Science, Univ. of Anzona, Tucson, Apr. 1986.
|
 |
8
|
|
| |
9
|
EES, J. A., ADAMS, N. I., AND MEEHAN, J R. The T manual. Tech. Rep. Computer Science Dept., Yale Univ., New Haven, Conn., Jan 1984.
|
 |
10
|
|
| |
11
|
|
| |
12
|
STERLING, L., AND SHAPIRO, E The Art of Prolog. MIT Press, Cambridge, Mass, 1986.
|
| |
13
|
|
 |
14
|
|
 |
15
|
|
| |
16
|
VAN EMnEN, M.H. An interpreting algorithm for Prolog programs. In Proceedings of the 1st International Logic Programming Conference. (Univ. of Marseilles, France, 1982), pp. 93-110.
|
 |
17
|
|
| |
18
|
|
|