Le Tue, 24 Jul 2007 14:23:34 -0700, "Harrison, John R" a écrit : > In the old camlp4 one could set up a quotation parser to just apply a > string > transformation and thereafter parse with the usual OCaml parser, e.g. > Quotation.add name (Quotation.ExStr expander) > What is the equivalent in the new camlp4? In Ocsigen, Quotation.add "xml" (Quotation.ExAst (xml_exp, xml_pat)) became open Camlp4.PreCast ; Syntax.Quotation.add "xml" Syntax.Quotation.DynAst.expr_tag Parser.xml_exp Maybe this can give you a clue ? Regards, -- Gabriel Kerneis