Abstract: It is known that the essential ingredients of a Lisp-style unhygienic macro system can be expressed in terms of advanced hygienic macro systems. We show that the reverse is also true: We present a model of a core unhygienic macro system, on top of which a hygiene-compatible macro system can be built, without changing the internals of the core macro system and without using a code walker. To achieve this, the internal representation of source code as Lisp s-expressions does not need to be changed. The major discovery is the fact that symbol macros can be used in conjunction with local macro environments to bootstrap a hygiene-compatible macro system. We also discuss a proof-of-concept implementation in Common Lisp and give some his...
It is possible to define a formal semantics for configuration, elaboration, linking, and evaluation ...
Even in the days of Lisp’s simple defmacro systems, macro developers did not have adequate debugging...
Thesis: M. Eng., Massachusetts Institute of Technology, Department of Electrical Engineering and Com...
It is known that the essential ingredients of a Lisp-style unhygienic macro system can be expressed ...
Abstract. Macro expansion in current Lisp systems is naive with respect o block structure. Every mac...
We present the λm-calculus, a semantics for a language of hygienic macros with a non-trivial theory....
Abstract. ACL2 is a theorem prover for a purely functional subset of Common Lisp. It inherits Common...
Genuine differences in the treatment of identifiers in block-structured languages and those that pro...
AbstractOver the past two decades, Scheme macros have evolved into a powerful API for the compiler f...
One of the powerful features of the Lisp language family is possibility to extend the language using...
9 pagesThis paper describes a modified form of Kohlbecker's algorithm for reliably hygienic (captur...
PLT Scheme provides an expressive programming language implementation framework in order to enable e...
Languages like Lisp, Scheme, and Racket have shown that powerful and expressive macro systems can gi...
Over the past two decades, Scheme macros have evolved into a pow-erful API for the compiler front-en...
Scheme includes a simple yet powerful macro mechanism. Using macros, programmers can easily extend t...
It is possible to define a formal semantics for configuration, elaboration, linking, and evaluation ...
Even in the days of Lisp’s simple defmacro systems, macro developers did not have adequate debugging...
Thesis: M. Eng., Massachusetts Institute of Technology, Department of Electrical Engineering and Com...
It is known that the essential ingredients of a Lisp-style unhygienic macro system can be expressed ...
Abstract. Macro expansion in current Lisp systems is naive with respect o block structure. Every mac...
We present the λm-calculus, a semantics for a language of hygienic macros with a non-trivial theory....
Abstract. ACL2 is a theorem prover for a purely functional subset of Common Lisp. It inherits Common...
Genuine differences in the treatment of identifiers in block-structured languages and those that pro...
AbstractOver the past two decades, Scheme macros have evolved into a powerful API for the compiler f...
One of the powerful features of the Lisp language family is possibility to extend the language using...
9 pagesThis paper describes a modified form of Kohlbecker's algorithm for reliably hygienic (captur...
PLT Scheme provides an expressive programming language implementation framework in order to enable e...
Languages like Lisp, Scheme, and Racket have shown that powerful and expressive macro systems can gi...
Over the past two decades, Scheme macros have evolved into a pow-erful API for the compiler front-en...
Scheme includes a simple yet powerful macro mechanism. Using macros, programmers can easily extend t...
It is possible to define a formal semantics for configuration, elaboration, linking, and evaluation ...
Even in the days of Lisp’s simple defmacro systems, macro developers did not have adequate debugging...
Thesis: M. Eng., Massachusetts Institute of Technology, Department of Electrical Engineering and Com...