Quotations#
Camltac provides quotations of the form {%name| … |} to input Rocq terms in OCaml. For example, to obtain a well-typed term, one can use the %constr quotation:
%constr is the equivalent of Ltac2’s constr: quotation, with similar semantics.
Other quotations include %open_constr for well-typed terms with holes, %preterm for untyped terms, %expr for concrete syntax, and %ident for identifiers.