Faculty Publications and Other Works -- EECS

Document Type

Report

Publication Date

4-7-2018

Abstract

A syntax macroprocessor permits parameterized text substitutions with greater syntactic flexibility than allowed with ordinary macroprocessors. This report describes the \emph{synmac} syntax macroprocessor, which permits arbitrarily delimited macro invocations, and thus allows the definition of new statement and expression forms or even complete languages. Synmac is a computationally complete programming language. We define the synmac macro language, document a prototype implementation, and give examples of its use.

Files over 3MB may be slow to open. For best results, right-click and select "save as..."

Share

COinS