package ppx_optcomp
Optional compilation for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=0bf43393409414c655c4473d79480fdf
sha512=2e7c41f168c004cf3be1cd768a5406c61af135c0b084ffdfc39555b4be8c21a227c56cffbfb66de8dc3de35f735277d330f3cc6762e6ba8708deebb78f9fd49b
doc/CHANGES.html
v0.11
- Completly changed the syntax to make this a proper ppx (and not a -pp as it previously was). The old syntax is now available in
ppx_optcomp_old
. - Depend on ppxlib instead of (now deprecated) ppx_core and ppx_driver.
113.43.00
Make it easier to share a .h and .mlh
Ppx_optcomp was modified to accept
defined(X)
only ifX
has been seen, either in a#define
or#undef
. This allow to share config.h files between C and OCaml and still be protected against typos in .ml files.
113.33.00
- Install standalone ppx-optcomp program that can be run through
-pp
113.24.00
Change the way optcomp resolve filenames in #import directives
Do the same as cpp, i.e. for relative filenames, consider they are relative to the directory of the file being parsed. This doesn't matter internally as build commands are always executed from the current directory, but it matters for the public release as everything is executed from the root.