Previous Up Next
Chapter 8 Camlp4 library modules
When linking an application using this library modules, you have to add the file gramlib.cma in the command line. For example, with the line:
          ocamlc -I +camlp4 gramlib.cma <the_files> 
8.1 Module MLast: abstract syntax tree

This library module is accessible, but not documented. The creation of abstract syntax tree nodes must be done using quotations, defined in the file q_MLast.cmo. See appendix A.

However, some functions are provided to access the ``location'' field in nodes. They are:
8.2 Other modules