Skip Navigation

The Computer Journal 1978 21(1):35-41; doi:10.1093/comjnl/21.1.35
© 1978 by British Computer Society
This Article
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrow Search for citing articles in:
ISI Web of Science (1)
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Campbell, W. R.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

A compiler definition facility based on the syntactic macro

W. R. Campbell *

Department of Computational Science, University of St Andrews, North Haugh, St Andrews KY16 9SX, Fife, UK

This paper introduces an improvement on Leavenworth's syntactic macro for language extension whereby the user has greater flexibility for defining new syntactic constructs in the LL(1) context and for specifying conditional macro expansion dependent on semantic attributes passed among macros. The facility permits more accurate error detection, less repetitive scanning of text and more efficient generation of object code than allowed by the traditional string replacement macro; though the user may conceive this extensions in the context of string replacement, the processor is actually manipulating code trees. Further facilities are introduced for effecting a compiler definition system.


Received November 1975.

* Department of Computational Science, University of St Andrews, North Haugh, St Andrews KY16 9SX, Fife, Scotland*


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.