Grammar-Based Definition of Metaprogramming Systems

24Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.

Abstract

A metaprogramming system is a programming facility (subprogramming system or language) whose basic data objects include the programs and program fragments of some particular programming language, known as the target language of the system. Such systems are designed to facilitate the writing of metaprograms, that is, programs about programs. Metaprograms take as input programs and fragments in the target language, perform various operations on them, and possibly generate modified target-language programs as output. A grammar-based approach to the specification of the syntactic-manipulation component of a metaprogramming system is described. The method derives the specifications for a set of programmanipulating subprograms from an augmented BNF grammar for the target language. The method is applicable to any programming language and is illustrated in its particular application to Pascal. © 1984, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Cameron, R. D., & Ito, M. R. (1984). Grammar-Based Definition of Metaprogramming Systems. ACM Transactions on Programming Languages and Systems (TOPLAS), 6(1), 20–54. https://doi.org/10.1145/357233.357235

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free