1992 · 13 citations · 14 references
ComputingComputer ScienceProgramming LanguagesSemanticsSyntaxAbstract Syntax TreesProgramming Language ImplementationSyntactic AnalysisSyntax AnalysisSyntax-semantics InterfaceComputational ExpressivenessExpressivenessMacro SystemsOperational SemanticsRewriting SystemsStructural Operational SemanticsTerm RewritingTerm Rewriting Systems
Syntactic abbreviations or macros provide a powerful tool to increase the syntactic expressiveness of programming languages. The expansion of these abbreviations can be modeled with substitutions. This paper presents an operational semantics of macro expansions and evaluation where substitutions are handled explicitly. The semantics is defined in terms of a confluent, simple, and intuitive set of rewriting rules. The resulting semantics is also a basis for developing correct implementations.
14
Computer Languages · 1979 · 1.2K citations
The next 700 programming languages
P. J. Landin · Communications of the ACM · 1966 · 581 citations · Full text
Revised3 report on the algorithmic language scheme
J. Rees, William Clinger · ACM SIGPLAN Notices · 1986 · 511 citations · Full text