ACM Home Page
Please provide us with feedback. Feedback
A confluent calculus of Macro expansion and evaluation
Full text PdfPdf (802 KB)
Source Conference on LISP and Functional Programming archive
Proceedings of the 1992 ACM conference on LISP and functional programming table of contents
San Francisco, California, United States
Pages: 278 - 287  
Year of Publication: 1992
ISBN:0-89791-481-3
Also published in ...
Authors
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 35,   Citation Count: 1
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/141471.141562
What is a DOI?

ABSTRACT

Syntactic abbreviations or macros provide a powerful tool to increase the syntactic expressiveness of programming languages. The expansion of these abbreviations can be modeled with substitutions. This paper presents an operational semantics of macro expansions and evaluation where substitutions are handled explicitly. The semantics is defined in terms of a confluent, simple, and intuitive set of rewriting rules. The resulting semantics is also a basis for developing correct implementations.


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
 
2
M. Abadi, L. Cardelli, P.L. Curien, and J.J. L~vy. Explicit Substitutions. Technical Report SRC 54, Digital Equipment Corporation, Palo Alto, California, 1990.
 
3
H. Barendregt. The Lambda Calculus, Its Syntax and Semantics. North-Holland, Amsterdam, 1981.
 
4
A. Bore and L. Arbilla. A Confluent calculus of macro expansion and evaluation. Technical Report INCO-91-01, Instituto de Computaci6n, Universidad de la Repfiblica, Montevideo, Uruguay, 1991.
 
5
N. De Bruijn. Lambda-calculus Notation with Nameless Dummies, a Tool for Automatic Formula Manipulation. Indag. Mat., 34:381-392, 1972.
6
7
 
8
 
9
T. Griffin. Notational definition - A formal account. In Proc. Syrup. Logic in Computer Science, pages 372-383, 1988.
 
10
 
11
T. Hardin and J.J. L6vy. A Confluent Calculus of Substitutions. In Japan Artificial Intelligence and Computer Science Symposium, Izu, December 1989.
 
12
13
 
14
G. Huet and D. C. Oppen. Equations and Rewrite Rules: A Survey. In R. V. Book, editor, Formal Language Theory: Perspectives and Open Problems. Academic Press, 1980.
 
15
 
16
17
18
19
20