Fortifying macros

19Citations
Citations of this article
31Readers
Mendeley users who have this article in their library.

Abstract

Existing macro systems force programmers to make a choice between clarity of specification and robustness. If they choose clarity, they must forgo validating significant parts of the specification and thus produce low-quality language extensions. If they choose robustness, they must write in a style that mingles the implementation with the specification and therefore obscures the latter. This paper introduces a new language for writing macros. With the new macro system, programmers naturally write robust language extensions using easy-to-understand specifications. The system translates these specifications into validators that detect misuses - including violations of context-sensitive constraints - and automatically synthesize appropriate feedback, eliminating the need for ad hoc validation code. © Copyright Cambridge University Press 2012.

References Powered by Scopus

Correspondence between ALGOL 60 and Church's Lambda-notation: Part I>

226Citations
N/AReaders
Get full text

Drscheme: A programming environment for scheme

205Citations
N/AReaders
Get full text

Disambiguation filters for scannerless generalized LR parsers

114Citations
N/AReaders
Get full text

Cited by Powered by Scopus

A programmable programming language

67Citations
N/AReaders
Get full text

The racket manifesto

47Citations
N/AReaders
Get full text

Macros for domain-specific languages

12Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Culpepper, R. (2012). Fortifying macros. In Journal of Functional Programming (Vol. 22, pp. 439–476). https://doi.org/10.1017/S0956796812000275

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 15

63%

Researcher 7

29%

Professor / Associate Prof. 1

4%

Lecturer / Post doc 1

4%

Readers' Discipline

Tooltip

Computer Science 23

85%

Mathematics 2

7%

Social Sciences 1

4%

Engineering 1

4%

Save time finding and organizing research with Mendeley

Sign up for free