Closed lefessan closed 8 years ago
If we are going to use a pre-processor, we should use cppo.
I prefer to maintain different branches for multiple versions of OCaml rather than add more external dependencies for such a core component.
Then, may I create a package ocp-ppx-tools
with this fork ? Right now, each version of ppx_tools
on OPAM is only compatible with one version of OCaml, which limits portability of packages across versions.
If you depend on "ppx_tools >= 5.0", it will work for both 4.02 and 4.03 (resolving to 5.0+4.02.0 or 5.0+4.03.0). This is what sedlex 1.99.3 does.
Provide compatibility from 4.02.0 to 4.03.0 using
ocp-pp
(included inocp-build
)