Previous Next Contents

4.2   Extending the language

The language predefined syntaxes, ``pa_o.cmo'' and ``pa_r.cmo'' use the Camlp4 grammar system: so they are extensible.

The module ``Pcaml'' holds grammars and entries variables used by the langage predefined syntaxes files. Syntax extensions can be done by extensions of the appropriate entries.

In some entries, ``pa_o.cmo'' and ``pa_r.cmo'' define labels allowing to locate some levels and to add new rules relative to these levels. The entries and their labels are:


Previous Next Contents