devel/ocaml-cppo 1.6.6p10 OpenBSD
OCaml preprocessor
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
634248f904- Categories
- devel
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/ocaml-cppo | 1.6.6p10 |
| FreeBSD | devel/ocaml-cppo | 1.6.9_3 |
| NetBSD | devel/ocaml-cppo | 1.6.8nb3 |
| DragonFly | devel/ocaml-cppo | 1.6.9_3 |
| GhostBSD | devel/ocaml-cppo | 1.6.9_3 |
Install
Binary package:
pkg_add ocaml-cppo
From the ports tree:
cd /usr/ports/devel/ocaml-cppo && make install