Package Info

ocaml-cppo


The C preprocessor written in OCaml


Development/Languages/OCaml

Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants.

The main purpose of cppo is to provide a lightweight tool for simple macro substitution (#define) and file inclusion (#include) for the occasional case when this is useful in OCaml. Processing specific sections of files by calling external programs is also possible via #ext directives.

The implementation of cppo relies on the standard library of OCaml and on the standard parsing tools Ocamllex and Ocamlyacc, which contribute to the robustness of cppo across OCaml versions.


License: BSD-3-Clause
URL: https://github.com/mjambon/cppo

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.5.0-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ocaml-cppo
  • ocaml-cppo-devel
1.5.0-bp152.3.15 info GA Release 2020-05-23 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ocaml-cppo
  • ocaml-cppo-devel
1.5.0-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ocaml-cppo
  • ocaml-cppo-devel