Previous Contents

Chapter 2:   Quotations

This chapter presents the Camlp4 quotation system. A quotation is a part of a program enclosed by special parentheses in position of expression or pattern, and whose treatment is done by an user function, called a ``quotation expander''. Several quotations expanders are usable in the same source code.

When Camlp4 encounters such a construction, the appropriate quotation expander is called with the string contents of the quotation.

There are two kinds of quotation expanders:


Previous Contents