Conference
Macros as multi-stage computations: Type-safe, generative, binding macros in MacroML
Abstract
With few exceptions, macros have traditionally been viewed as operations on syntax trees or even on plain strings. This view makes macros seem ad hoc, and is at odds with two desirable features of contemporary typed functional languages: static typing and static scoping. At a deeper level, there is a need for a simple, usable semantics for macros. This paper argues that these problems can be addressed by formally viewing macros as multi-stage …
Authors
Ganz SE; Sabry A; Taha W
Pagination
pp. 74-85
Publication Date
January 1, 2001
Conference proceedings
Proceedings of the ACM SIGPLAN International Conference on Functional Programming ICFP