diff --git a/doc/advanced-topics.rst b/doc/advanced-topics.rst index 45440bff..73aa90fd 100644 --- a/doc/advanced-topics.rst +++ b/doc/advanced-topics.rst @@ -101,3 +101,12 @@ set of predicates: - ``ppx_driver``: when a library acts differently depending on whether it is linked as part of a driver or meant to add a ``-ppx`` argument to the compiler, choose the former behavior + +Classical ppx +============= + +*classical ppx* refers to running ppx using the -ppx compiler option, which is +composed using Findlib. Even though this is useful to run some (usually old) +ppx's which don't support drivers, Jbuilder does not support preprocessing with +ppx this way. but a workaround exists using the `ppxfind +`_ tool.